Error building stratagus-2.2.5.5 using autotools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stratagus |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi, I'm getting the following error when building stratagus-2.2.5.5 using autotools (./autogen.sh; ./configure; make):
g++ -c -DHAVE_CONFIG_H -DUSE_BZ2LIB -DUSE_VORBIS -DUSE_THEORA -DUSE_MIKMOD -pthread -D_REENTRANT -DUSE_MNG -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/
In file included from src/guichan/
./src/include/
/usr/include/
./src/include/
/usr/include/
make: ** [src/guichan/
I'm compiling from Ubuntu 8.04 LTS (Hardy Heron).
Here there are no problems compiling stratagus-2.2.4 with autotools,
so I believe that it may be someting related to 2.2.5.5 (just a guess, you know the code much better than I do)
BTW, there are no problems playing Wargus using that stratagus-2.2.4 executable built here.
Great work folks, this project is amazing :)
You have buggy program autoheader. ./configure call autoheader and this generate file config.h where is defined if you have functions strlen and strcasestr
You have 2 choices: "-DHAVE_ STRCASESTR -DHAVE_STRNLEN"
1. after ./configure edit file config.h and change it that you have strlen and strcasestr
2. call ./configure with params CPPFLAGS=
This sounds like bug in autotools not in stratagus, so closing as invalid.
All ubuntu packages in stratagus PPA was builded correctly.