LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2004, 03:17 PM   #1
Kalanari
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
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.

Last edited by Kalanari; 08-10-2007 at 11:00 AM.
 
Old 08-04-2004, 04:15 PM   #2
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
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
 
Old 08-04-2004, 04:15 PM   #3
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
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.
 
Old 08-04-2004, 04:32 PM   #4
Kalanari
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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.

Last edited by Kalanari; 08-09-2007 at 01:28 AM.
 
Old 08-04-2004, 04:38 PM   #5
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Well, because its it bzip2 format.
Use:
--> tar xyvf file (OR bzip2 -cd file | tar xvf - )
 
Old 08-04-2004, 04:41 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
i though it was
Code:
tar -xjvf MPlayer-1.0pre5.tar.bz2
just my
 
Old 08-04-2004, 04:46 PM   #7
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Quote:
Originally posted by scuzzman
Code:
tar -xjvf MPlayer-1.0pre5.tar.bz2
Sure, sorry for that.

Last edited by Charalambos; 08-04-2004 at 04:47 PM.
 
Old 08-04-2004, 05:34 PM   #8
Kalanari
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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..).

Last edited by Kalanari; 08-09-2007 at 01:29 AM.
 
Old 08-04-2004, 05:39 PM   #9
Kalanari
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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.
___________________________________________________

Last edited by Kalanari; 08-09-2007 at 01:29 AM.
 
Old 08-04-2004, 05:45 PM   #10
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
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.
 
Old 08-08-2004, 08:58 PM   #11
Kalanari
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Charalambos
2.
Suse comes with gcc. Just install it under yast.
How would I do that? I installed all updates under yast, but still no luck...
 
Old 08-09-2004, 02:05 AM   #12
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Apart from updates you can install / remove programs under yast.
Must be there somewhere (not far from the update option). Just look closely.
 
Old 08-26-2004, 03:52 PM   #13
Norwal
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
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
 
Old 08-26-2004, 04:22 PM   #14
Norwal
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
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
 
Old 09-02-2004, 10:22 AM   #15
Sonjoy
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



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
SUSE noob, help install MPlayer please? lg_alucard Linux - Software 2 12-09-2004 08:23 PM
Trick to install MPlayer on SuSE 9.1/9.2 barneyt SUSE / openSUSE 2 11-14-2004 04:20 AM
Unable to install mplayer on SuSE 9.1 anupamsr Linux - Software 7 09-21-2004 11:18 AM
MPlayer Install problem on Suse 9.0 Osiris123d Linux - Software 3 12-08-2003 05:34 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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