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! |
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? |
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. |
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 :-) |
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.
|
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. |
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 :/ |
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.
|
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. |
All times are GMT -5. The time now is 04:50 PM. |