How to install MPlayer in SuSe 9.1?
Hiya all. I found this site through a Google search, and it seems to
Anyways: I was wondering if someone could explain to me how to install a source code under SuSe 9.1 Personal. I know that there is a tutorial about compiling source codes, but I'm having trouble using/understanding it. The culprit I'm trying to install here is the MPlayer 1.0pre5 source. Thanks for the help in advance. |
Basically installing sources is about the following
In most cases you download a file with ending tar.gz (or equivalent .tgz) or .bz . 1. Unpack the file .bz: --> gunzip file .tar.bz --> tar xvzf file OR gunzip -c file | tar xvf - 2. compile and install In most cases, this is done in 3 steps --> ./configure --> make --> make install But you should read the INSTALL file for detailled instructions There you are (if nothing went wrong). I suggest you this reference for further reading about installing software under linux: http://www.tldp.org/HOWTO/Software-Building-HOWTO.html |
For what your trying to do you would be better of going to PackMan and using the RPM they have. PackMan has a whole list of RPM's that are specificly compiled for SuSE and with the exception of one package (libdvdcss). You will also want a few other packages that will let you watch movie formats like .wmv .mov .avi and such.
Here is a complete list: Mplayer Mplayer Plugin win32 dlls With SuSE 9.1 after you down load the files open up the folder you saved them to with Konquorer file browser and click on the RPM you want to install, If your not running a root it will ask you for your root password and than YaST will install the package. Repeat with the other packages. |
Hey Charambalos:
I tried unpacking the tarball, but this is all I get back - ___________________________________________ linux:/home/Kalanari # tar xvzf MPlayer-1.0pre5.tar.bz2 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors linux:/home/Kalanari # gunzip -c MPlayer-1.0pre5.tar.bz2 gunzip: MPlayer-1.0pre5.tar.bz2: not in gzip format ___________________________________________ @ HenchmenResourc: Hey, thanks for the tip, but I kinda wanna learn how to unpack and compile in *nix, as I'll probably be using this lotsa time anyways. I don't like always depending on others. Thanks for the tip anyways though. |
Well, because its it bzip2 format.
Use: --> tar xyvf file (OR bzip2 -cd file | tar xvf - ) |
i though it was
Code:
tar -xjvf MPlayer-1.0pre5.tar.bz2 |
Quote:
|
Hey, thanks for that tip Charalambos/Scuzzman. That did the trick, yet I've 2 more questions/problems now...
First, how do you know what type of suffix to put after the tar command? Does the xjvf (etc.) have any significance, or is that just the way it is? Also, is the '-' in front of the xjvf required or optional? Second, I've sucessfully uncompressed the source file, and have a directory under /home/Kalanari/MPlayer-1.0pre5. I ran /home/Kalanari/MPlayer-1.0pre5/config, and it tells me I need GCC or C compiler, which I assume didn't come packaged with SuSe (look below). So, I tried downloading GCC, but it also needs a C compiler to install (which is kind of worthless)... I looked for a binary of GCC, but couldn't find a link that worked (or couldn't figure out how to work it..). |
This is what it says:
_________________________________________ linux:/home/Kalanari # /home/Kalanari/MPlayer-1.0pre5/configure Detected operating system: Linux Detected host architecture: i386 Checking for cc version ... not found Checking for gcc version ... not found Checking for gcc-3.3 version ... not found Checking for gcc-3.2 version ... not found Checking for gcc-3.1 version ... not found Checking for gcc3 version ... not found Checking for gcc-3.0 version ... not found Checking for cc version ... not found *** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! *** You are not using a supported compiler. We do not have the time to make sure everything works with compilers other than the ones we use. Use either the same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS unless you can reproduce them after recompiling with a 2.95.x or 3.x version! Note for gcc 2.96 users: Some versions of this compiler are known to miscompile mplayer and lame (which is used for mencoder). If you get compile errors, first upgrade to the latest 2.96 release (minimum 2.96-85) and try again. If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting bugs! GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! *** For details please read DOCS/HTML/en/users-vs-dev.html *** Error: Bad gcc version Check "configure.log" if you do not understand why it failed. ___________________________________________________ |
1.
the - indicates parameters given to a command (command tar in this case). the x is extract. the j is for bzip2 the z is bor gzip the v is for verbose (display all extracted files) the f indicates the following archive to be treated for all available parameters just type --help after any command available under linux. 2. Suse comes with gcc. Just install it under yast. |
Quote:
|
Apart from updates you can install / remove programs under yast.
Must be there somewhere (not far from the update option). Just look closely. |
GCC and Others
Hello Kalinari,
I had the exact same problem. I tried to update with the CD in but still nothing. You have the ISO ver, correct? I wanted to install Plugger and then MPlayer. I recieve the exacted error message. I seach the forums and found this one. It is very useful. I followed Cavenaghi link http://www.linuxquestions.org/questi...hreadid=213620 From there I installed gcc-3.3.3-41.i586 rpm and discovered another problem. X not found! I used the same link to install XFree86-devel. I ran into dependency problems. Xfree was depentant on Fontconfig-devel and Fontconfig-devel was depentant on a third, but I can't remember the name off hand. It had to do with "type". If you try to install Fontconfig it will give you a warning with the name of the dependent file. Good luck, Nor |
Trying MPlayer tonight
Forgot to mention that Plugger is working. I will try to install MPlayer tonight after work. I not sure which ver. to intall. There are three RPMs availabel for SuSE 9.1. see link above from HenchmenResourc. ( i586 , i686, and source)
My Linux test box has: AMD k6-2 380 O/C to 400. 256 Mb PC 133 I'm going to attempt the source ver 1st. Also, I read that you must install all codec first, then MPlayer. I love this! It better than the Myst Marble puzzle. Nor |
How to install Mplayer in Suse linux 9.1
Hi,
I have x86_64 machine with suse 9.1. Would you please help me by saying from where I can download Mplayer and how do I install that? thanks in advance. regards, Sonjoy |
All times are GMT -5. The time now is 10:08 AM. |