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?
Cannot get Exult to compile under linux
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: Cannot get Exult to compile under linux
Could you post the relevant last part of config.log?
Re: Cannot get Exult to compile under linux
configure 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; }
/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
I guess you need the asound library...
Re: Cannot get Exult to compile under linux
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
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).