Error compiling spring_0.75b2, /bin/sh^M: bad interpreter:

Error compiling spring_0.75b2, /bin/sh^M: bad interpreter:

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
argh!
Posts: 8
Joined: 24 Jun 2007, 13:28

Error compiling spring_0.75b2, /bin/sh^M: bad interpreter:

Post by argh! »

Hi

I'm getting this error when running scons (scons configure runs through without problems)

Code: Select all

ar: creating libstreflop.a
Succes building streflop!
sh: installer/make_gamedata_arch.sh: /bin/sh^M: bad interpreter: No such file or directory
Found this which could be related to the problem:
Das '^M' deutet darauf hin, dass sich in der Datei ein <LF> Zeichen befindet, das als Teil des Interpreters interpretiert wird. Das koennte daher kommen, dass Du die Datei unter Windows abgespeichert hast.
http://www.unixboard.de/vb3/showthread.php?t=21644

~translation:
'^M' indicates that an <LF> sign is in the file, which is interpreted by the interpreter. That could be caused by saving the file under windows.

Is it possible that's what you ment with that nasty bug?
YokoZar wrote:Anyway, after a couple hours of hacking I think I've managed to get the new version packaged up properly - it's compiling now, and along the way I found a rather nasty bug in the Spring scons script.
http://spring.clan-sy.com/phpbb/viewtopic.php?t=11113

i'm running ubuntu 7.04 amd64, i compiled version .74b3 without problems (on this machine) before

Thanks for any help :)
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

where did you get the source?
argh!
Posts: 8
Joined: 24 Jun 2007, 13:28

Post by argh! »

I found the problem :-)

I downloaded the source from the main site:
http://spring.clan-sy.com/download.php -> Development -> Source code

but there are 2 links, i downloaded the first, i thought the other is a mirror. just now i saw the first is a zip and the other a tar.bz2 :oops:

everything works now

sry to bother you :wink:
Post Reply

Return to “Linux”