Cannot get Exult to compile under linux

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Raving Idiot

Cannot get Exult to compile under linux

Post 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?
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Cannot get Exult to compile under linux

Post by wjp »

Could you post the relevant last part of config.log?
Raving Idiot

Re: Cannot get Exult to compile under linux

Post 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; }
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: Cannot get Exult to compile under linux

Post by nadir »

I guess you need the asound library...
Nuclear Loser

Re: Cannot get Exult to compile under linux

Post 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.
Raving Idiot

Re: Cannot get Exult to compile under linux

Post 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).
Locked