SDL_mixer wants SDL version 1.2.10, but I 've got 1.2.11

When I use

./configure --prefix=/usr --enable-music-mp3

To install SDL_mixer, I get this during compiling…

checking for SDL - version >= 1.2.10… 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.10 not found!

I cant find the previous release of 1.2.10, so is there a way to make it work
with 1.2.11?

Thanks

Gausie

Hello !

./configure --prefix=/usr --enable-music-mp3

To install SDL_mixer, I get this during compiling…

checking for SDL - version >= 1.2.10… 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.10 not found!

I cant find the previous release of 1.2.10, so is there a way to make it
work with 1.2.11?

Did you test if sdl-config works if you just type it into the shell ?

CU

gausie wrote:

When I use

./configure --prefix=/usr --enable-music-mp3

To install SDL_mixer, I get this during compiling…

checking for SDL - version >= 1.2.10… 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.10 not found!

I cant find the previous release of 1.2.10, so is there a way to make it
work with 1.2.11?

The error message is maybe slightly confusing, but you should interpret it
as saying : SDL_mixer couldn’t find any libSDL let alone the required
version >= 1.2.10

[root at localhost ~]# sdl-config
bash: sdl-config: command not found

…I guess not?

Gausie

[root at localhost ~]# sdl-config
bash: sdl-config: command not found

Ok sdl-config isn’t working.

Secondly, I used to have SDL 1.2.9 installed, but it told me to install 1.2.10,
so I installed 1.2.11. It’s definately installed!

Or do I misunderstand - a great possibility!

Thanks

Gausie

Hello !

Secondly, I used to have SDL 1.2.9 installed, but it told me to install
1.2.10,
so I installed 1.2.11. It’s definately installed!

Or do I misunderstand - a great possibility!

Did you install some kind of SDL packages or
directly from the source ?

CU

Or do I misunderstand - a great possibility!

When it fails, look in config.log and it’ll tell you exactly why it
failed. Likely sdl-config isn’t in your $PATH, so it doesn’t know where
to find the library, or you have your distribution’s SDL package
installed, but not the “development” package.

–ryan.