Hi, I tried to run the autogen script and get
tweek@ubuntu:~/Desktop/glest_source_2.0.0/mk/linux$ ./autogen.sh
bash: ./autogen.sh: /bin/sh^M: bad interpreter: No such file or directory
I'm not sure how to fix that...
Any ideas?
It seems someone edited a linux script with a Windows editor, you must go back from this situation.
I did that:
- opened that file with emacs
- changed the charset to undecided-unix (ctrl-x RET f undecided-unix)
- saved the modified file (ctrl-x s)
Hoping it helps.
However after that I incur in the following error after doing ./configure:
configure: error: cannot run /bin/sh mk/autoconf/config.sub
Running a raw "sh mk/autoconf/config.sub" gives:
: command not foundsub: line 5:
: command not foundsub: line 7:
: command not foundsub: line 26:
: command not foundsub: line 31:
: command not foundsub: line 39:
: command not foundsub: line 47:
: command not foundsub: line 54:
: command not foundsub: line 56:
: command not foundsub: line 69:
: command not foundsub: line 78:
: command not foundsub: line 81:
'k/autoconf/config.sub: line 84: syntax error near unexpected token `in
'k/autoconf/config.sub: line 84: ` case $1 in
Hoping someone got a fix for that,
Giovanni.