Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-14-2004, 11:37 PM   #1
Registered: Mar 2004
Location: United States, New York, Carmel via Putnam County
Posts: 80

Rep: Reputation: 15
Installing rpm(SDL_mixer)

Hi i'm running mandrake linux 10 and the I downloaded
the rpm onto my fat32 harddrive since I just use that
for storage. I started installing the rpm and inputted the
superuser password. After I did that I get this

You are about to install the following software
package on your computer:

/mnt/win_d2/ftp/kc2keo/c++ development

You may prefer to just save it. What is your choice?
After I get this message I press install it. I get
this output:
Installation failed:
        file /usr/lib/ from install
of SDL_mixer-1.2.5-1 conflicts with file from package
What do I do? Seems to me that there is some similar package is installed and its conflicting. I looked in my SDL folder with the header files in it then saw SDL_audio.h and was fooling around with the functions in it and managed to compile it. But I want SDL_mixer.h and there isnt one in site. I cant install the package so therefore I cant continue the tutorial. I looked up some other documentation to see if there was something on SDL_audio.h but I really want to get the other one working.

Old 04-15-2004, 04:35 AM   #2
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
But it appears that the one you already have (1.2.5-3mdk) is later than the one you're trying to install, anyway (1.2.5-1), so... why? But if you really want to, you could use the --force option to overwrite the newer file, or remove the previous SDL_mixer before trying to install the older one. Read man rpm to see how to use these options.

Secondly, you might want to install rpms from the Mandrake repositories rather than "loose" RPMs that are not precompiled specifically for Mandrake.

This would require you to add some external sources to your Software Media Manager. The easiest way to do so is to go to Easy Urpmi and follow the instructions there.

If you don't know how to "Type this in a console as root", the procedure is to: 1) open a console/terminal; 2) type "su" (without the quotes); 3) type the root password when asked; 4) hit Enter. If you've typed the root password correctly, your prompt symbol will change from a "$", indicating user access, to a "#", indicating root access. Every command you type in that terminal will be considered as coming from root, until you type "exit" to return to user access, or close the terminal. From there, you can just copy and paste the output from the site into the terminal (CTRL+SHIFT+V usually pastes in a terminal) or naturally you could type everything by hand .

After you've added the sources, you can either use urpmi <packagename> in a terminal to automatically download and install a package and it's dependencies, or you could go to the Mandrake Control Center=>Software Management=>RPMDrake (Install Software) to install any of the thousands of programs Mandrake has in its repositories. Don't forget to change the filter from "Mandrake Choices" to "All Software by... (pick a filter; alphabetical, software type, repository, etc).

This makes installing software much much easier than trawling the Internet for loose RPMs which might not work anyway, and which (in this case), you already have installed-- and in my experience with Mandrake, compiling under it is not the best choice to install software, anyway.

What are you trying to accomplish by (re-)installing SDL_Mixer, anyway (since you already have it)? Is it not working? Are you trying to install something that is dependent on it, and it's not finding that it's installed, or what?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL_mixer sound delay Ictus Programming 1 04-21-2010 02:59 AM
SDL_mixer: sound is delayed nexus6 Linux - Software 1 09-03-2005 09:05 AM
SDL_mixer gate88 bomarrow1 Linux - Games 0 05-20-2005 11:07 AM
tuxracer installation: cannot find SDL_mixer.h koyi Slackware 2 08-02-2003 06:34 AM
SDL_mixer and OGG/vorbis jspenguin Linux - Software 2 04-27-2003 07:56 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration