> sdlfb.c:37:17: SDL.h: No such file or directory
> make[2]: *** [sdlfb.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> 
> I did a sucessful SDL install and the autogen.sh seemed to work (no
> errors generated.)  I tried specifying the SDL lib paths with
> ./configure --with-extra-lpath=/usr/local/include/SDL and many other
> configureations in order to let it find SDL.
> Anyone have a clue?  It used to find SDL on it's own.

The configure script uses the sdl-config command to find the include
and library paths. Could you check this script returns something
sensible, and that the correct version is called (in case you have
several versions of SDL installed) If it's ok, could you check that
configure correctly extracted the parameters ? Sometime there are old
values stored in the file config.cache, which you can happily remove,
just to be sure. To see what configure detected, you can search in the
config.status file for lines like:

s%@SDL_CONFIG@%/usr/bin/sdl-config%g
s%@SDL_CFLAGS@%-I/usr/include/SDL -D_REENTRANT%g
s%@SDL_LIBS@%-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread%g

They indicate how the keywords @SDL_CFLAGS@,... are being substituted
in the Makefiles.

Fr�d�ric

-- 
Fr�d�ric Gobry    SMARTDATA       
      ---         http://www.smartdata.ch
Software Engineer Lausanne - Switzerland
                  +41 21 693 84 98
                                  

PGP signature

Reply via email to