Hello,
I get this error when I try to compile vlc (or MPlayer, I think):--------
(configure, configure…)
checking for sdl12-config… no
checking for sdl11-config… no
checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL/SDL.h… no
configure: error: The development package for SDL is not installed.
Please install it and try again. Alternatively you can also configure with
–disable-sdl.
I compiled SDL from sources, so everything should be there, right? Anyway, it’s
a “fresh” libSDL install, with no earlier versions. Going on the instructions on
the faq’s page, here are the outputs from the various commands:
which sdl-config
/usr/local/bin/sdl-config
sdl-config --version
1.2.4
locate libSDL
/usr/local/lib/libSDL-1.2.so.0
/usr/local/lib/libSDL-1.2.so.0.0.4
/usr/local/lib/libSDL.a
/usr/local/lib/libSDL.la
/usr/local/lib/libSDL.so
/usr/local/lib/libSDLmain.a
tail config.log
configure:7134: checking for sdl11-config
configure:7175: checking for sdl-config
configure:7220: checking for SDL/SDL.h
configure:7230: gcc -E -I/usr/local/include -I/usr/local/include/SDL
-D_REENTRANT conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
configure: failed program was:
#line 7225 “configure”
#include “confdefs.h”
#include <SDL/SDL.h>
Does anyone have an idea what could be going wrong here? It seems like it’d be
something fairly elementary, but /usr/local/include/SDL/SDL.h does exist, as do
all the other header files for that directory.
regards,
-Felipe Gasper