SDL_Image installation can't find SDL

I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:

Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib

(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)

Also made sure /usr/local/bin was in the path.

I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.

Any other suggestions?

TIA

CB wrote:

I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:

Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib

(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)

Also made sure /usr/local/bin was in the path.

I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.

Any other suggestions?

is /usr/local/lib in LD_LIBRARY_PATH ??

in bash:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

-- David Snopek

/-- libksd –
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
------------

At 11:11 AM 6/3/01 -0500, you wrote:

CB wrote:

I installed SDL 1.2 on my Mandrake 8.0 system with no problems (source code
version–couldn’t get the .rpm to install). I then tried to install
SDL_Image 1.2 but it says it can’t find SDL. The FAQ’s didn’t really cover
this problem, but I did try a couple of related suggestions, namely:

Edit the file /etc/ld.so.conf, and make sure it contains the line:
/usr/local/lib

(I assume you just put that line after the one that’s in there. IOW, It
doesn’t replace the one in there, right?)

Also made sure /usr/local/bin was in the path.

I tied installing a game I had downloaded that needed both. It seemed to
see SDL, but of course halted when it couldn’t find SDL_Image.

Any other suggestions?

is /usr/local/lib in LD_LIBRARY_PATH ??

in bash:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

    -- David Snopek

Okay I’ve done that and it shows up when I check the LD_LIBRARY_PATH, but
still getting the error. It runs through quite a few checks, then says
specifically:

checking for BSD compatible install… usr/bin/install -c
checking for SDL - version >= 1.2.0… no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!

???

Also not sure what “installed in PREFIX” means of if that applies…

Thanks,
CB

CB wrote:

Okay I’ve done that and it shows up when I check the LD_LIBRARY_PATH, but
still getting the error. It runs through quite a few checks, then says
specifically:

checking for BSD compatible install… usr/bin/install -c
checking for SDL - version >= 1.2.0… no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!

Does typing “sdl-config --version” work?? What is the ouput of “which
sdl-config”?? If it does work, but you don’t get anything from “which”,
then either set PATH right or set SDL_CONFIG, in bash:

export SDL_CONFIG=/usr/local/bin/sdl-config

Also not sure what “installed in PREFIX” means of if that applies…

It means the level in the directory tree you installed SDL. Usually
this is /usr/local, but you can change it by doing “./configure
–prefix=”.

-- David Snopek

/-- libksd –
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
------------

At 10:31 AM 6/4/01 -0500, you wrote:

Does typing “sdl-config --version” work?? What is the ouput of “which
sdl-config”?? If it does work, but you don’t get anything from “which”,
then either set PATH right or set SDL_CONFIG, in bash:

export SDL_CONFIG=/usr/local/bin/sdl-config

This was the trick…thanks!

The first game? One I remember from Intellivision days:
Burgertime…er…Burgerspace :wink:
http://www3.sympatico.ca/sarrazip/dev/burgerspace.html

Thanks!