LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-26-2003, 11:52 PM   #1
Muscles
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Rep: Reputation: 0
Exclamation Need Help installing my first program (XMMS) using Mandrake 9.1


I've just installed Mandrake 9.1. The installation seemed pretty painless but I have no idea how to install and run programs. I'm using KDE 3.1 as my GUI. I need music so naturally the first program I wanted to download and install was XMSS (Mp3 program). My question is simple. How do I go about doing this? Any detailed step by step instructions would be greatly appreciated. I didn't understand their installation instructions. This is all completely new to me. Since I haven't made 5 posts on the forum yet, apparently I am not permitted to post URL's... Here is a hint:

xmss dot org. go to their download section

I've tried doing this on my own but I'm lost. I downloaded the file XMMS 1.2.8 (tar.gz) and extracted it to a directory I created that looks like: file:/home/muscles/Documents/mp3
I then proceeded to try and configure it from the Konsole and this is what I got back:

[muscles@localhost xmms-1.2.8]$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for prefix by checking for xmms... /usr//bin/xmms
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I'm not even sure what I was doing there was a step in the right direction.

I'm hoping that after I've accomplished this with your help I will be able to figure out on my own how to download and install any 3rd party program in the future.

Thanks!
 
Old 10-26-2003, 11:56 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
It appears that you do not have GCC installed. Try running "rpmdrake" and searching for "gcc". It should find it, and you can install it.

When you installed, did you choose the "Development" series of packages?
 
Old 10-27-2003, 01:55 AM   #3
Muscles
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Original Poster
Rep: Reputation: 0
You were right. The GCC was not installed. Now that it is installed I'm getting another error which I know how to fix but can't because I don't know how to install things lol. This is what I get now when I try to ./configure:

[muscles@localhost xmms-1.2.8]$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for prefix by checking for xmms... /usr//bin/xmms
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for strerror in -lcposix... no
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for working const... yes
checking for a BSD compatible install... /usr//bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... yes
checking for /usr//bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr//bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr//bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pthread.h... yes
checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

There is a couple of links on XMMS website where I can download and install GLIB but I don't know how. Argh!!!! Please help. When I access the links it brings me to a directory with a bunch of unix files I don't know what to do with.
 
Old 10-27-2003, 05:42 AM   #4
fruibat_2000
Member
 
Registered: Aug 2003
Location: scotland
Distribution: Mandrake 9.2
Posts: 78

Rep: Reputation: 15
if you just want to install xmms easily and don't want to have to learn to install programs without music, just open up rpm drake and install xmms, it should be there. what you were doing was right by doing "./configure" after that you type "make" then switch to super user mode by typing "su" then the root password, then you type "make install" and if there were no errors youre software is installed.

have fun :-)
 
Old 10-27-2003, 09:12 AM   #5
TheChicken
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
And for the glib thing, i suggest you go to rpmdrake again, and search for it, and then, ofcourse, install it Even if you're gonna install xmms by a .RPM, it may come in handy oneday when you're ./configure-ing on some other software.
 
Old 10-27-2003, 09:17 AM   #6
namespace
LQ Newbie
 
Registered: Oct 2003
Location: China
Distribution: LFS
Posts: 21

Rep: Reputation: 15
You really need see the README which was shiped with XMMS tarball, as there is a list of request libs.

Your recent problem is lake of a package like glib-devel,so you should install it first form rpm.
 
Old 10-27-2003, 01:20 PM   #7
Muscles
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Original Poster
Rep: Reputation: 0
KICKASS! I want to thank everyone for their help here that responded. I have successfully installed my first program, XMMS.

I just installed the necessary files from the CD (glib and some other thing) using rpmdrake. Then I extracted the program, used ./configure -> make -> su -> make install. Seems easy enough.

So my next question is where did it install to? Is it using the directory where I originally extracted the tar file to or can I delete that directory now?

So much more to learn :/
 
Old 10-27-2003, 01:57 PM   #8
TheChicken
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
No, it installs in a different directory (/usr/bin ??) don't know for sure. That's where all you're installs go, and you can just start xmms by typing xmms, because the '/usr/bin or whaterver' is in your path (a list of directories where linux automatically looks for the command). So, yes you can delete the source dir, but i guess that if you want to get rid of xmms you can do a 'make uninstall' from the source dir, so then you've got to keep the dir. I have a dir in my home directory named 'sources', it's handy to whenever you want to do a reinstall or something.
 
Old 10-27-2003, 11:47 PM   #9
namespace
LQ Newbie
 
Registered: Oct 2003
Location: China
Distribution: LFS
Posts: 21

Rep: Reputation: 15
If you ./configure without --prefix ,your prefix will often default to /usr/local, so your libs may go to /usr/local/lib,and binary to /usr/local/bin...

You keep the dirs if you wanna unistall it in the future.
 
  


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 XMMS mxnskillz Linux - Newbie 4 06-19-2005 10:07 AM
installing program into mandrake 10.1 ioriamd Mandriva 5 02-14-2005 10:07 AM
XMMS Crashes program start, Linux Sarge System rjcmi Debian 7 10-08-2004 04:51 PM
installing XMMS help radont84 Linux - Software 5 04-05-2004 11:55 AM
problem installing xmms 1.2.10 on Mandrake 9.2 thongkh Linux - Software 5 04-03-2004 01:46 AM


All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration