Guest tron Posted January 23, 2008 Share Posted January 23, 2008 hey, I am trying to compile SVN GemRB 2.9. When do ./autogen from ~/gemrb/gemrb/trunk it always results in: tron@torment:~/gemrb/gemrb/trunk$ ./autogen.sh ./autogen.sh: 26: Syntax error: Bad substitution I just started with linux, thus maybe one can help me out? Since line 26 of the autogen.sh points towards the version of aclocal being installed I guess that I am missing some packages ? thanks in advance! I am using kubuntu 7.10 and have installed libsdl1.2debian libsdl1.2debian-all libsdl1.2-dev libopenal0a vers.0.08 libopenal-dev python 2.5 python2.5-dev zlib1g vers. 1.233 zlib1g-dev libtool autoconf 2.61 automake 1.10 cvs 1.12 build-essential Link to comment
Guest Guest Posted January 23, 2008 Share Posted January 23, 2008 problem solved, just changed #!/bin/sh to #!/bin/bash at the beginning of the script. guess it was some of these dash bash confusions.. :-) Link to comment
Guest lynx Posted January 23, 2008 Share Posted January 23, 2008 i'd say those substitutions are not valid sh. The other likely option is that dash doesn't conform to sh completely. I'll take a look. Link to comment
Guest lynx Posted January 23, 2008 Share Posted January 23, 2008 fixed that in 5004 let me know if it breaks anywhere else (with sh as the interpreter of course) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.