Page 1 of 1

Cannot get Exult to compile under linux

Posted: Sun Apr 21, 2002 11:17 am
by Raving Idiot
I'm a linux newbie, so I'm not sure what all I need for the SDL libs. I have Mandrake linux with libSDL-1.2 and libSDL-1.2-devel installed via RPM. Whenever I run ./configure, it returns

checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

I'm not sure what else I'm missing, because there's not a list of packages I need (but I also found out I needed glade).
Anybody got any suggestions, or can anybody point me out to an RPM of rc1?

Re: Cannot get Exult to compile under linux

Posted: Sun Apr 21, 2002 1:55 pm
by wjp
Could you post the relevant last part of config.log?

Re: Cannot get Exult to compile under linux

Posted: Sun Apr 21, 2002 2:15 pm
by Raving Idiot
configure:3764: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT conftest.c -L/usr/lib -lSDL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama -ldl 1>&5
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
configure: failed program was:
#line 3754 "configure"
#include "confdefs.h"

#include
#include

int main() {
return 0;
; return 0; }

Re: Cannot get Exult to compile under linux

Posted: Sun Apr 21, 2002 11:33 pm
by nadir
I guess you need the asound library...

Re: Cannot get Exult to compile under linux

Posted: Mon Apr 22, 2002 5:56 am
by Nuclear Loser
I've seen the SDL tests fail on multiple configure scripts because something other than SDL itself (my most common one is an error finding the includes for X11R6 ^_^).. really an annoying problem (*especially since most scripts report it as being an SDL error) Well, hope you get it working.

Re: Cannot get Exult to compile under linux

Posted: Mon Apr 22, 2002 12:04 pm
by Raving Idiot
Thanks for the help. I'll check to see if I can install the Asound library (Since I'm new to linux, I'm not sure whether it's associated with ASLA or not, but I'll find out soon enough).