Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hiya all. I found this site through a Google search, and it seems to
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.
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.
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.
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
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.
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
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.
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.
Suse comes with gcc. Just install it under yast.
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.
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.