LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing XMMS help (https://www.linuxquestions.org/questions/linux-software-2/installing-xmms-help-166406/)

radont84 04-05-2004 08:21 AM

installing XMMS help
 
I downloaded xmms and everything it needed to run, after installing all the relevent files I went to install xmms and typed this:

(from the xmms directory)
./configure

it started running its configure program and it stopped and said glib 1.2.2 was not installed yet, even though I had just installed it. SO i wondered if maybe I installed it wrong, this is my first attempt at installing anything on redhat so I'm not sure whats going on yet. I had the glib RPM file in a folder on my desktop called "stuff" and to install it I did the following:

./configure

make

make install

that was what the readme told me to do to install it...

hw-tph 04-05-2004 08:37 AM

You are not supposed to use ./configure and so on with rpm files. rpm's are - unless they are source packages - installed using (as root) rpm -ivh filename.rpm or rpm -Uvh filename.rpm if it's an upgrade.

If you want to build programs from source that use glib you will need the glib-devel rpm package that corresponds to your installed glib version. The -devel packages contain header files and other files necessary to build software that relies on those packages. As an example, the glib package is only a runtime package, you need glib-devel to actually compile programs that use glib.

Hope that helps.


Håkan

radont84 04-05-2004 08:45 AM

Does it matter if there is a .gz at the end of the file name?

hw-tph 04-05-2004 09:18 AM

Is the extension *.rpm.gz? That's odd since rpm files provide their own compression. But if that's that case you can unzip it using gunzip filename.gz.

Håkan

radont84 04-05-2004 09:27 AM

wow, that was really dumb of me...:confused: The file extension is tar.gz, I thought it was an RPM file, sorry. Do you know anything about tar.gz files?

hw-tph 04-05-2004 10:55 AM

Well, tarballs (as they are called) are usually source packages that require the ol' ./config && make && make install, but if you are using an rpm-based distribution such as Redhat you will probably be better off installing Redhat's own glib packages. Chances are glib is already installed - the rpm command has a lot of different options but I think you can list installed packages by using rpm -qa or something similar. To find out if glib is installed already type rpm -qa | grep glib. You will want to install the glib-devel package from your distribution so you can install packages that use glib from source.
Also check our FreshRPMs for rpm's that doesn't come with Redhat or that are crippled, like the xmms one.


Håkan


All times are GMT -5. The time now is 09:30 PM.