I get this error when I try to compile vlc (or MPlayer, I think):--------
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
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:
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”
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.