Wed 16 Mar 2011 12:34:01 AM UTC, comment #2:
Whoops, I didn't notice that you attached your config.log.
It says you're trying to compile version 0.2.0-pre2.
Please note that the latest in the development branch is 0.2.0-pre4.
It appears that the --disable-sdltest configuration option isn't working properly.
It has been fixed in svn.
To fix it in your copy of the software:
place the line:
if test $enable_sdltest = yes; then
before the AC_TRY_RUN.
and put the line:
fi
after the subsequent AC_MSG_RESULT line.
Thanks for reporting this problem.
This appears in your config.log:
configure:15958: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -lSDL_mixer conftest.c -lSDL_mixer >&5
/usr/bin/ld: cannot find -lSDL_mixer
--
The problem is that the configure script isn't using pkg-config for the SDL_Mixer library, so it doesn't get any LDFLAGS. Those LDFLAGS are necessary to making it compile on your particular system.
I suggest you hack the configure.ac file to use `pkg-config --libs SDL_Mixer' for the LIBS (around line 64), and SOUND_LIBS.
LordsAWar is also on FreeBSD. I suggest you look at how they've modified the configure script.
Good luck.
|