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 |
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. |
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 |
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 |
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. :-) |
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]# |
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 :) |
thanks. i've installed these packages seperately. now everything is working fine. bye.
|
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" |
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.
|
@ crashed again
great instructions. |
Just want to express my appreciation to Crashed Again for his guidance. mplayer rocks.
|
well i meet the same problem need a libasound.so.1,could some offer me a url to get it,lots of thanks! ^^
|
Thanks Crashed_again, apt worked for me and I can now use Mplayer with noproblem.
|
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 |
All times are GMT -5. The time now is 09:20 PM. |