Click to See Complete Forum and Search --> : SDL


castlef
10-27-2001, 11:53 PM
checking for SDL - version >= 1.1.0... no


// so i try to install SDL-1.2.2-1.i386.rpm

rpm -ivh SDL-1.2.2-1.i386.rpm

error: file /usr/lib/libSDL-1.1.so.0 from install of SDL-1.2.2-1 conflicts with file from package libSDL1.1-1.8-4mdk

someone tell me whats going on ?

bdg1983
10-28-2001, 05:56 AM
Try upgrading instead.

rpm -Uvh SDL-1.2.2-1.i386.rpm

If that doesn't work, then you can either try

rpm -Uvh --nodeps --force SDL-1.2.2-1.i386.rpm

which should be your last resort as force/nodeps is not always a good idea.

Or you can uninstall the original SDL package first.

castlef
10-28-2001, 09:52 AM
// i uninstalled SDL

rpm -e --nodeps SDL*

// went ok then installed the new SDL and went ok

but im still getting a message ......

checking for sdl-config...no
checking for SDL - version >= 1.1.0... no

set the SDL_CONFIG environment variable to the full path to sdl-config.

// i tried the command rpm -ql SDL

and i have

/usr/doc/SDL-1.2.2
/usr/doc/SDL-1.2.2/BUGS
/usr/doc/SDL-1.2.2/COPYING
/usr/doc/SDL-1.2.2/CREDITS
/usr/doc/SDL-1.2.2/README-SDL.txt
/usr/lib/libSDL-1.1.so.0
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.0.0.2

// as you can see no sdl-config

after all im just trying to install a simple game, and a typing program :)

Ig0r
10-28-2001, 03:03 PM
If you're compiling a program that depends on SDL (which is what it sounds like), you need to have the -dev library installed (SDL_version-dev.rpm probably).