LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2003, 01:38 PM   #1
chinmay nautiya
Member
 
Registered: Nov 2002
Location: kotdwara, uttaranchal, india
Posts: 39

Rep: Reputation: 15
mplayer is not installing on Red Hat Linux 9.0


i'm having Red Hat Linux 9.0. as it doesn't come with any movie player. i've downloaded mplayer from www.freshrpms.net. but on installing it is giving following errors that so many packages are not installed.
1. whether i've to download all of them separately from the above site or there is some other method?
2. if they are needed by MPLAYER then why they are not included in the mplayer rpm package itself?
and
3. if i install XINE then so many packages are needed or not?

here is my output after installing MPLAYER package as root :-

[root@localhost root]# rpm -i mplayer-1.0-0.1.20031002.fr.i386.rpm
warning: mplayer-1.0-0.1.20031002.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
aalib is needed by mplayer-1.0-0.1.20031002.fr
alsa-lib is needed by mplayer-1.0-0.1.20031002.fr
faad2 is needed by mplayer-1.0-0.1.20031002.fr
lame is needed by mplayer-1.0-0.1.20031002.fr
libaa.so.1 is needed by mplayer-1.0-0.1.20031002.fr
libasound.so.2 is needed by mplayer-1.0-0.1.20031002.fr
libasound.so.2(ALSA_0.9) is needed by mplayer-1.0-0.1.20031002.fr
libdv is needed by mplayer-1.0-0.1.20031002.fr
libdv.so.2 is needed by mplayer-1.0-0.1.20031002.fr
libdvdread is needed by mplayer-1.0-0.1.20031002.fr
libdvdread.so.3 is needed by mplayer-1.0-0.1.20031002.fr
libfame is needed by mplayer-1.0-0.1.20031002.fr
liblirc_client.so.0 is needed by mplayer-1.0-0.1.20031002.fr
liblzo.so.1 is needed by mplayer-1.0-0.1.20031002.fr
libmad.so.0 is needed by mplayer-1.0-0.1.20031002.fr
libmp3lame.so.0 is needed by mplayer-1.0-0.1.20031002.fr
libpostproc = 1.0-0.1.20031002.fr is needed by mplayer-1.0-0.1.20031002.fr
libpostproc.so.0 is needed by mplayer-1.0-0.1.20031002.fr
lirc is needed by mplayer-1.0-0.1.20031002.fr
lzo is needed by mplayer-1.0-0.1.20031002.fr
mplayer-fonts is needed by mplayer-1.0-0.1.20031002.fr
 
Old 10-13-2003, 01:56 PM   #2
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
I've had the same problem. First I installed all the dependecies you have mentioned.
And then the install went perfectly. So, I think you have already know the solution. I admit that it is a lot of work.

Imagine that the authors of Mplayer would include all of the dependecies in their RPMS:
1. It is a lot of work
2. by the time they have finished and release the RPM, the dependecies are outdated.
3. The user must eventually upgrade the dependecies anyway.

I'm sorry to say, but I haven't come with a solution for that. But please try it that way.
My Mplayer is working great and very stable, I haven't come across any problems, yet.
 
Old 10-13-2003, 02:42 PM   #3
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
Hi, it's me again..
You could also rebuild the SRC rpm.
Download the same RPM but with the word SRC included in the filename.
Then you can 'rebuild' the src to include the dependecies you have downloaded.

It is also explained on this website http://ftp.falsehope.com/home/rathan...er/#rebuilding

You can rebuild the source RPM with appropriate options to enable features like:

* OpenGL/AALib video outputs
* ALSA/aRts/EsounD audio outputs
* DivX4Linux/XviD/LZO video codecs
* MAD/AAC audio codecs
* GIF89a input/output
* XMMS input plugins
* cdparanoia CDDA reading

Note: this list is incomplete. See the top of the specfile for more information.
For example, to get a mplayer RPM with AAC support, use:

rpmbuild --rebuild --with faad2 mplayer-0.90.20030524-1.src.rpm

But take a look at http://ftp.falsehope.com/home/rathan...er/#rebuilding

I think you can include all the independecies into your own rebuild. So that in future installs you don't need to do it allover again. The only downside is that eventually the dependecies are outdated and you have to start allover again.

Greetings and regards,

Jan
 
Old 10-13-2003, 02:48 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Imagine a program that would install mplayer and all its dependencies for you automatically. That would be great wouldn't it? Well here it is...apt.

Click on the RedHat 9 link(the first one on the page) and download:

apt-0.5.5cnc6-fr1.i386.rpm

and

apt-devel-0.5.5cnc6-fr1.i386.rpm.

Then as root do:

rpm -ivh apt*
apt-get update
apt-get install mplayer
 
Old 10-13-2003, 02:58 PM   #5
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
Crashed_Again

I didn't think of that, but I am not a experienced linux user. But I would like to thank you as well.
I haven't tried apt yet. I will try it also, thanks !! I think that your solution is more simple than mine.
:-)
 
Old 10-14-2003, 09:09 AM   #6
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Rep: Reputation: 0
Crashed-Again, i tried that but it don't seem to be installin correctly, any ideas here:

[root@pcp03823400pcs root]# rpm -ivh apt*
warning: apt-0.5.5cnc6-fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
package apt-0.5.5cnc6-fr1 is already installed
package apt-devel-0.5.5cnc6-fr1 is already installed
[root@pcp03823400pcs root]# apt-get update
Get:1 http://ayo.freshrpms.net redhat/9/i386 release [1170B]
Fetched 1170B in 0s (2538B/s)
Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/updates release
Get:1 http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist [148kB]
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Fetched 148kB in 2s (55.5kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
[root@pcp03823400pcs root]# apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mplayer: Depends: aalib but it is not going to be installed
Depends: alsa-lib but it is not going to be installed
Depends: faad2 but it is not going to be installed
Depends: lame but it is not going to be installed
Depends: libaa.so.1
Depends: libasound.so.2
Depends: libasound.so.2(ALSA_0.9)
Depends: libdv but it is not going to be installed
Depends: libdv.so.2
Depends: libdvdread but it is not going to be installed
Depends: libdvdread.so.3
Depends: libfame but it is not going to be installed
Depends: liblirc_client.so.0
Depends: liblzo.so.1
Depends: libmad.so.0
Depends: libmp3lame.so.0
Depends: libpostproc (= 1.0-0.2.pre2.fr) but it is not going to be in
stalled
Depends: libpostproc.so.0
Depends: lirc but it is not going to be installed
Depends: lzo but it is not going to be installed
Depends: mplayer-fonts but it is not going to be installed
xmms: Obsoletes: xmms-mp3 but 1:1.2.7-22 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s
olution).
[root@pcp03823400pcs root]#
 
Old 10-14-2003, 09:13 AM   #7
RKY60
LQ Newbie
 
Registered: Oct 2003
Location: Pottsville, PA.
Distribution: Red Hat 9
Posts: 15

Rep: Reputation: 0
Nevermind, ran that "apt-get -f install" and got rid of what it said to, then re-ran "apt-get install mplayer" and it worked.

Thanks for the easy install method
 
Old 11-10-2003, 12:40 PM   #8
chinmay nautiya
Member
 
Registered: Nov 2002
Location: kotdwara, uttaranchal, india
Posts: 39

Original Poster
Rep: Reputation: 15
thanks. i've installed these packages seperately. now everything is working fine. bye.
 
Old 11-10-2003, 11:07 PM   #9
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
you are having problems in installing becasue you are not using the correct rpm for your version. try rpm.pbone.net, you cannot live without it .
and for mplayer, it is best to download the tar file from www.mplayerhq.hu. then unzip the tar into a directory, go into that directory and type "./configure --gui-enable"

after configure ends, type "make", this will take some time. after make, type "su" and give root password, and then type "make install".

now download a skin from mplayer website, and unzip and copy it to /yourhomedirectory/.mplayer/Skin/default

download fonts from mplayer website and unzip them and copy them to /usr/local/share/mplayer/fonts


now you should run mplayer from command prompt. also you can run mplauer in gui by typing "gmplayer"
 
Old 01-29-2004, 06:56 PM   #10
blcvegas
LQ Newbie
 
Registered: Jan 2004
Location: Vegas
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
The APT instructions here are fantastic. I tried for several days to get mplayer installed without success. With those instructions, it was working in a couple of minutes.
 
Old 02-17-2004, 02:34 AM   #11
miner
Member
 
Registered: Feb 2004
Location: Canada
Distribution: FC3
Posts: 73

Rep: Reputation: 15
@ crashed again

great instructions.
 
Old 02-20-2004, 10:29 AM   #12
jasontn
Member
 
Registered: Feb 2004
Location: Malaysia
Distribution: Fedora Core 2
Posts: 60

Rep: Reputation: 15
Just want to express my appreciation to Crashed Again for his guidance. mplayer rocks.
 
Old 02-25-2004, 12:35 AM   #13
chris_law
LQ Newbie
 
Registered: Sep 2003
Location: China Shenyang
Posts: 24

Rep: Reputation: 15
well i meet the same problem need a libasound.so.1,could some offer me a url to get it,lots of thanks! ^^
 
Old 03-06-2004, 02:15 PM   #14
slade-03
LQ Newbie
 
Registered: Feb 2004
Location: New York
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
Thanks Crashed_again, apt worked for me and I can now use Mplayer with noproblem.
 
Old 03-06-2004, 03:43 PM   #15
linux-fan64
LQ Newbie
 
Registered: Feb 2004
Location: Wisconsin, USA
Distribution: Mandrake 10 Official
Posts: 17

Rep: Reputation: 0
Post MPLAYER APT VS. Source Compile installations

The only problem with using APT to install that I found, was that it doesn't always support everything it could. Such as certain MS Codecs, etc. Doing the source compile really was not as big of a deal as I thought it was. Speaking as a Linux newbie, but having a TON of MS background, I was confused. But if you read anything of the 'RUTE' manual, what the author tells you in there really makes sense and it works. For ALL readme files/docs/instructions you get, read through them THREE times before installing. If you just do it while reading it once, you are rushing yourself and it may not work. Print out the readme that comes with the mplayer source, have it on desk next to you as you do it. READ ALONG AND DO WHAT IT SAYS, especially ALL the parts at beginning of readme explaining all the files you need to have, and all codecs that need to be inplace BEFORE you compile. Once I did that, POOF!! Everything was working, even the MS DirectShow codecs. I have now tried mplayer on ALL video formats I could get my hands on. And THEY ALL WORK without a hitch. Do yourselves a favor, make sure you have any linux drivers for your video card preconfigured and installed and working before trying out mplayer. It really makes a huge difference if you can get your card to use the vo=xv setting. Which lets mplayer play direct to card. Resizing the screen, going full screen, etc all works great when you use that method. The method of installing using APT is a great way to get up and running quick though. If you get it up and running, it lets you see most video formats, maybe not all. But at least it gets you into the functions of mplayer and how it works, and therefore may steer you in the right direction on how to compile from source and why GOD I LOVE THIS MESSAGE BOARD. Its just SO great to actually deal with people who actually know what they are doing and respond. SO UNLIKE that in the Windoze World

Tony
 
  


Reply


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
installing red hat linux nitin403 Red Hat 3 07-25-2004 06:19 PM
trouble installing red hat linux 9 sirhacksalot Linux - Newbie 15 05-27-2004 06:10 PM
Installing Red hat Linux 8.0 piggysmile Linux - Newbie 1 04-25-2004 08:49 AM
Help installing Red Hat Linux bryanthebold Red Hat 6 11-17-2003 10:54 AM
Installing Red Hat Linux v7.1 in VMWare eddied Linux - Software 4 09-20-2001 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 AM.

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