Greetings all.
I have tried to compile a program which requires SDL -
version >= 1.2.0 (ZSnes 1.36, actually), and I’m
getting an error about SDL not found. However, I’m
positive it’s installed (I installed it from source
myself). I will send you the technical info:
Stuff from ./configure script:
checking for sdl-config… /usr/local/bin/sdl-config
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/local/bin/sdl-config
configure: error: SDL >= 1.2.0 is required
Commands I issued to check everything’s ok:
which sdl-config
/usr/local/bin/sdl-config
sdl-config --version
1.2.7
locate libSDL
/usr/local/lib/libSDLmain.a
/usr/local/lib/libSDL-1.2.so.0.7.0
/usr/local/lib/libSDL-1.2.so.0
/usr/local/lib/libSDL.so
/usr/local/lib/libSDL.la
/usr/local/lib/libSDL.a
/root/downloads/SDL-1.2.7/src/main/libSDLmain.a
/root/downloads/SDL-1.2.7/src/.libs/libSDL-1.2.so.0.7.0
/root/downloads/SDL-1.2.7/src/.libs/libSDL-1.2.so.0
/root/downloads/SDL-1.2.7/src/.libs/libSDL.so
/root/downloads/SDL-1.2.7/src/.libs/libSDL.lai
/root/downloads/SDL-1.2.7/src/.libs/libSDL.a
/root/downloads/SDL-1.2.7/src/.libs/libSDL.la
/root/downloads/SDL-1.2.7/src/libSDL.la
–>The stuff in /root/downloads is the source code I
downloaded from http://www.libsdl.org/.<--
tail config.log
#include “SDL.h”
int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main
int main() {
return 0;
; return 0; }
cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
–> Yes, I’ve run ldconfig.<–
echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
Also, I’m positive there are no other versions of SDL
in my machine, and that there is no dumb
"config.cache" file lying around. I’m running
Slackware 9.1, in an Athlon XP machine. I’ve searched
the internet, and found several other people who are
having the same problem, but so far I’ve found no
solution. Hope you people can help me.
Thanks in advance.
Thiago______________________________________________________________________
Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html