Fri 09 Jan 2009 06:31:05 PM UTC, comment #2:
Hm, well... First I tried compiling from the release tarball, just a simple "./configure ; make", and that died with the same error I get from the ebuild.
Next I checked out trunk from svn, and that's worse. autogen.sh appeared to go okay, but configure throws a couple of strange complaints:
[...]
config.status: creating po/Makefile
configure:
configure: *** Running in debug mode! ***
configure:
configure: WARNING: Distributor unknown!
configure: Use --with-distributor when compiling package for distribution
configure:
configure: WARNING: Not using a system provided SQLite library.
configure: WARNING: Requested 'sqlite3 >= 3.6' but version of SQLite is 3.5
configure: WARNING: We currently only accept SQLite versions >= 3.6.
configure:
configure: WARNING: Perl isn't installed, autogeneration of some sources will not work.
The configure run in the ebuild doesn't complain about sqlite or perl. sqlite >3.5 is masked currently, but I unmasked and upgraded to make that go away.
Weirder is the perl complaint. I sure do have perl installed... and the complaint doesn't go away if I add "--with-perl=/usr/bin/perl".
I went ahead and ran make, and got a different but similar build failure:
Making all in sequence
make[3]: Entering directory `/home/mjinks/src/warzone/trunk/lib/sequence'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR="\"/usr/local/warzone/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/warzone/share/locale\"" -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wwrite-strings -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wno-format-security -MT sequence.o -MD -MP -MF .deps/sequence.Tpo -c -o sequence.o sequence.c
In file included from /usr/include/GL/glx.h:25,
from ../../lib/ivis_opengl/GLee.h:66,
from sequence.c:61:
/usr/include/X11/Xmd.h:165: error: conflicting types for 'BOOL'
../../lib/framework/types.h:69: error: previous declaration of 'BOOL' was here
make[3]: *** [sequence.o] Error 1
make[3]: Leaving directory `/home/mjinks/src/warzone/trunk/lib/sequence'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mjinks/src/warzone/trunk/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mjinks/src/warzone/trunk'
make: *** [all] Error 2
|