Hi guys.
I am currently running Debian "Lenny" in my Desktop (kernel: 2.6.26) and I have the following problem:
I am a fan of Babylon 5, that's why I play TBP. Now some TBP-campaigns require an Inferno build. Since I haven't found a pre-compiled inferno build for Linux, I thought that I might try to compile my own. So I downloaded the source tarball from
here (3.6.9 final), unpacked it und tried to compile.. oh, as a sidenote: I think I only need the binary of the INF build, but since
a) I don't even know what I am really compiling here (it might be just the binary)
b) if there is a way to just compile the binary, I have been unable to find it
I decided to just try to compile the whole thing.
"./configure -enable-inferno" worked well, and told me which dependencies I still need. after installing those, it finished without error..
so then I tried "make"..
first of all, that told me that "INT_MAX" wasn't defined, so I replaced INT_MAX in the /ai/aiturret.cpp with the max value of integers in 32-bit systems (which is 2147483647, iirc)
the next error was that the /theora/theora.h and the /vorbis/codec.h were missing.. so I downloaded the dev packages for both of those and placed symbolic links in the respective folders... that fixed that error...
then /AL/al.h and /AL/alc.h were missing, so I added those as well...
but now I have an error without a missing file...:
XXXX@XXXXX:~/fs2_open/fs2_open-3.6.9$ make
Making all in libjpeg
make[1]: Entering directory `/home/XXXX/fs2_open/fs2_open-3.6.9/libjpeg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/XXXX/fs2_open/fs2_open-3.6.9/libjpeg'
Making all in lua
make[1]: Entering directory `/home/XXXX/fs2_open/fs2_open-3.6.9/lua'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/XXXX/fs2_open/fs2_open-3.6.9/lua'
Making all in code
make[1]: Entering directory `/home/XXXX/fs2_open/fs2_open-3.6.9/code'
if g++ -DPACKAGE_NAME=\"fs2_open\" -DPACKAGE_TARNAME=\"fs2_open\" -DPACKAGE_VERSION=\"3.6.9\" -DPACKAGE_STRING=\"fs2_open\ 3.6.9\" -DPACKAGE_BUGREPORT=\"\" -DNO_CD_CHECK=1 -DINF_BUILD=1 -DNDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSCP_UNIX=1 -DNO_DIRECT3D=1 -DUSE_OPENAL=1 -I. -I. -g -Os -Wall -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fsigned-char -Wno-unknown-pragmas -Wno-deprecated -Wno-char-subscripts -I../lua -MT gropengltexture.o -MD -MP -MF ".deps/gropengltexture.Tpo" -c -o gropengltexture.o `test -f 'graphics/gropengltexture.cpp' || echo './'`graphics/gropengltexture.cpp; \
then mv -f ".deps/gropengltexture.Tpo" ".deps/gropengltexture.Po"; else rm -f ".deps/gropengltexture.Tpo"; exit 1; fi
graphics/gropengltexture.cpp: In function ‘void opengl_tcache_init()’:
graphics/gropengltexture.cpp:581: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:581: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:589: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:589: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:603: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:625: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:625: warning: deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp: In function ‘int opengl_create_texture_sub(int, int, int, int, int, int, ubyte*, tcache_slot_opengl*, int, int, int)’:
graphics/gropengltexture.cpp:984: warning: suggest explicit braces to avoid ambiguous ‘else’
graphics/gropengltexture.cpp:1007: warning: suggest explicit braces to avoid ambiguous ‘else’
graphics/gropengltexture.cpp:1096: warning: suggest explicit braces to avoid ambiguous ‘else’
graphics/gropengltexture.cpp:1119: warning: suggest explicit braces to avoid ambiguous ‘else’
graphics/gropengltexture.cpp: In function ‘int opengl_check_framebuffer()’:
graphics/gropengltexture.cpp:1819: error: ‘GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT’ was not declared in this scope
make[1]: *** [gropengltexture.o] Error 1
make[1]: Leaving directory `/home/XXXX/fs2_open/fs2_open-3.6.9/code'
make: *** [all-recursive] Error 1
and since I am no coder, I have no idea how I could possibly fix that