SDL error using fink

Dizzutch

Registered
Hey i installed SDL using fink,

but i get this error when i try to compile a program.

checking for sdl-config... /sw/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: /sw/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

then in config.log i get this:

configure:5746: checking for SDL - version >= 1.2.0
configure:5837: gcc -o conftest -g -O2 -I/sw/include/SDL -D_THREAD_SAFE confte
st.c -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL >&5
configure:5787: header file 'SDL/SDL.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
configure:5840: $? = 1
configure: program exited with status 1
configure: failed program was:

i tried configuring with the --prefix=/sw flag
but i get the same error.

what can i do about this problem?

TIA

Jule
 
Back
Top