RPM Conflicts

Place to discuss Mandriva Linux
Post Reply
Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

RPM Conflicts

Post by Doogee » Fri Feb 07, 2003 11:57 pm

MMkay ive got a slight problemo

Im trying to install a SNES emulator which requires SDL (Simple Directmedia Layer).

I have a mandrake version of SDL but ZSnes's ./configure doesnt want to pick it up, it says im missing SDL.

So a troddle over to libsdl.org and download the i386 RPM Binary SDL and try and install it and i get a conflict.

I dont know what to do??
I dont wanna break this install.

Thanks in advance, and before i go heres the whole ordeal.

Code: Select all

 
[dan@dans-computer src]$ cd ~/zs*
[dan@dans-computer zsnes-1.36]$ ls
authors.txt  install.txt  linux/   news.txt    readme.txt  srcinfo.txt  thanks.txt  whatsnew.txt
dos/         license.txt  Macros/  opengl.txt  src/        support.txt  todo.txt    win/
[dan@dans-computer zsnes-1.36]$ cd src
[dan@dans-computer src]$ ls
aclocal.m4   chips/        config.guess*  config.sub*   cpu/        fixsin.c  gui/         link.win32  makefile.dos  obj/     ui.asm.orig  water.c
autogen.sh*  confdefs.h    config.h.in    configure*    dos/        fixsin.h  init.asm     linux/      Makefile.in   smoke.c  vcache.asm   win/
cfgload.asm  config.cache  config.log     configure.in  endmem.asm  gblhdr.h  install-sh*  macros.mac  makefile.win  ui.asm   video/       zip/
[dan@dans-computer src]$ ./configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -I. -Wall ) works... yes
checking whether the C compiler (gcc -pipe -I. -Wall ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for nasm... ./configure: line 787: error:: command not found
no
checking for a BSD compatible install... /usr//bin/install -c
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for sdl-config... no
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 >= 1.2.0 is required
[dan@dans-computer src]$ cd /pub
[dan@dans-computer pub]$ ls
cabextract-0.6-1.i386.rpm            gaim-0.59.8-1.src.rpm           H2O-gtk2-Amythist/           H2O-gtk2-Ruby/            msttcorefonts-1.3-3.spec~
freetype-tools-1.3.1-17mdk.i586.rpm  gtk-gnutella-0.91.1-0.i386.rpm  h2o-gtk2-default-2.0.tar.gz  H2O-gtk2-Saphire/         music/
gaim-0.59.8-1.i386.rpm               H2O-gtk2-Amber/                 H2O-gtk2-Emerald/            msttcorefonts-1.3-3.spec  SDL-1.2.5-1.i386.rpm
[dan@dans-computer pub]$ su
Password: 
[root@dans-computer pub]# SDL*.rpm
bash: SDL-1.2.5-1.i386.rpm: command not found
[root@dans-computer pub]# rpm SDL*.rpm
RPM version 4.0.4
Copyright (C) 1998-2000 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm {--help}
rpm {--version}
[root@dans-computer pub]# oops
bash: oops: command not found
[root@dans-computer pub]# rpm -Uhv SDL*
Preparing... ########################################### [100%]
file /usr/lib/libSDL-1.2.so.0 from install of SDL-1.2.5-1 conflicts with file from package libSDL1.2-1.2.4-11mdk
[root@dans-computer pub]# HELP ME Voids Forum!
bash: HELP: command not found
[root@dans-computer pub]# exit
exit
[dan@dans-computer pub]$
[/code]

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Feb 08, 2003 6:56 am

If you already had SDL installed you probably also needed the SDL "devel" RPM. The devel libraries/headers are usually needed when compiling apps from source. Look on your CD for an SDL-devel*.rpm or sdl-devel*.rpm. Don't know if that will get you any farther or not...
Last edited by Void Main on Sat Feb 08, 2003 7:32 am, edited 1 time in total.

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Sat Feb 08, 2003 7:24 am

damnit i get stupider every day ill try that and get back to you

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Sat Feb 08, 2003 7:38 am

:) smartass

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Feb 08, 2003 7:42 am

I guess that fixed it?

Doogee
administrator
administrator
Posts: 261
Joined: Fri Jan 10, 2003 1:40 am

Post by Doogee » Sat Feb 08, 2003 7:43 am

yeah it sure did, sorry for wasting your time, i should know this stuff by now

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Feb 08, 2003 7:55 am

I think you are doing pretty good so far. You just started with this stuff.

Post Reply