LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing xmms on FC4 -> "glib-config not found"... (https://www.linuxquestions.org/questions/linux-software-2/installing-xmms-on-fc4-glib-config-not-found-371956/)

gletare 10-11-2005 12:28 PM

Installing xmms on FC4 -> "glib-config not found"...
 
Typing ./configure in the repertory xmms-1.2.10 produces the following message :

Quote:

*** 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 ***
Then I installed glib again (cos I suppose it was already included in FC4 standard libraries...), and I tried to find a glib-config file by typing in the shell :

Code:

updatedb
locate glib-config

But nothing was found :confused:

What shall I do to get a glib-config file, typing it on my own ????

thanks in advance

Komakino 10-11-2005 12:48 PM

glib 1.2 is part of gtk-1.2 and the glib-config file is part would be included as part of the development rpm (something like glib-devel or gtk1.2-devel)..however I doubt many other programs will use gtk-1.2 as it is essentially deprecated, so why not check out the beep-media-player which is a fork of xmms with gtk-1.2 replaced by the currently maintained gtk-2.0 (the two libraries are not interoperable).

akudewan 10-11-2005 12:59 PM

Maybe you need the dev package or something. I'd recommend that you install xmms using the rpm. Here's the link: http://www.mjmwired.net/resources/mjm-fedora-fc4.html

Also, here's a page you might find useful http://www.mjmwired.net/resources/mjm-fedora-fc4.html

reddazz 10-11-2005 01:19 PM

I'd just install beep-media-player as suggested above. There is no need to install the old gtk and glib packages just to run one app.

gletare 10-11-2005 03:06 PM

Well, I am now trying to install beepmp, but I have another problem : I install glib-2.8.3, and it seems alright, I have no error messages during the process, but when I try to install gtk+-2.8.6, during the ./configure step, it tells me :

Quote:

Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.4
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
But I've just been installing the 2.8.3 version...

Agentvenom 10-11-2005 03:16 PM

To solve dependencies yourself....just go somewhere like rpm.pbone.net and search for rpm's available for your distro. If you type in "glib" and click on the latest rpm for your distro, it will tell you what it provides. Just be sure you are getting the version you need. You shouldn't have to install a different program via someone else's advice. If you want XMMS, then get XMMS.

reddazz 10-11-2005 06:51 PM

Quote:

Originally posted by gletare
Well, I am now trying to install beepmp, but I have another problem : I install glib-2.8.3, and it seems alright, I have no error messages during the process, but when I try to install gtk+-2.8.6, during the ./configure step, it tells me :



But I've just been installing the 2.8.3 version...

Fedora Core already has glib2 and gtk2 packages so why are you compiling from source? You don't necessarily need the latest versions of gtk2 or glib2.

Agentvenom 10-11-2005 07:14 PM

What reddazz means is that gtk2 and glib2 packages come with Fedora Core and should already be installed. If for some reason you need a different version, then by all means, please use an RPM as they are way easier to install and keep track of. Compiling from source is usually done when you can't find an RPM. I know little of Fedora Core, but I know redhat had yum that would help you find packages. You should do some checking and find an easier way of installing packages.

gletare 10-12-2005 04:40 AM

Thanks Everbody, I have used rpms and it is really easier.

Could I be still a litlle annoying ? In fact, it installed bmp in /usr/bin . But is it possible to ask that the installation puts the executable file in /usr/local/bin ?

reddazz 10-12-2005 06:48 AM

Quote:

Originally posted by gletare
Thanks Everbody, I have used rpms and it is really easier.

Could I be still a litlle annoying ? In fact, it installed bmp in /usr/bin . But is it possible to ask that the installation puts the executable file in /usr/local/bin ?

Usually you can't define where to install an rpm since the paths are hard coded in the rpm spec file, but some rpms may allow you to do this.

soapdish 08-29-2006 03:39 PM

I just wanted to highlight something Komakino said that solves the problem of finding glib-config. I needed it for another program which didn't have any rpms, and a search brought me here.

Quote:

glib 1.2 is part of gtk-1.2 and the glib-config file is part would be included as part of the development rpm (something like glib-devel or gtk1.2-devel)

hafizakahbk 10-06-2006 01:32 AM

1../configure,make,make install glib 1.2.2
2.go to etc/ld.so.confd create new file type this sentence usr/local/lib
3.save file and rename it as glib-1.2.2.conf

4../configure,make,make install gtk+1.2.2
5.go to etc/ld.so.confd create new file type this sentence usr/local/lib
6.save file and rename it as gtk+-1.2.2.conf

7.in the terminal run this command,ldconfig

8./configure,make,make install xmms.gtk n glib will be detect.finish.

But i got problem when i run xmms
here is the prob

libmpg123.so,cannot restore segment prot after reloc:permission denied.

that i missing something during installation?anyone...............


All times are GMT -5. The time now is 12:43 AM.