Linux-Noob Forums

Full Version: glib config missing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I keep getting messages saying crap about my glib not being set up right when I try to ./configure xmms (and a few other things).

 

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 ***

 

It said to set the path to where ever glib-config is stored. I did a full search for that file and couldnt find it. I think that I have glib installed, I did rpm -lq glib and I got this:

 

[root@localhost glib-2.6.4]# rpm -lq glib

/usr/lib/libglib-1.2.so.0

/usr/lib/libglib-1.2.so.0.0.10

/usr/lib/libgmodule-1.2.so.0

/usr/lib/libgmodule-1.2.so.0.0.10

/usr/lib/libgthread-1.2.so.0

/usr/lib/libgthread-1.2.so.0.0.10

/usr/share/doc/glib-1.2.10

/usr/share/doc/glib-1.2.10/AUTHORS

/usr/share/doc/glib-1.2.10/COPYING

/usr/share/doc/glib-1.2.10/ChangeLog

/usr/share/doc/glib-1.2.10/NEWS

/usr/share/doc/glib-1.2.10/README

 

So does that mean its installed? I don't see any config files in there, how would I fix it? Thanks in advance.

 

--Shibz

nm, i got it. I just needed to install the glib-devel rpms from my fedora dvd
this is the normal way of things... whenever a complaint occurs with a configure script 99% of the time it is down to the fact that the -dev (or -devel) package isn't installed
So how do you go about installing the -dev packages because I'm having the same issue?

if you have yum

 

yum update && yum install package-devel

 

or you can use rpm to grab it from a website

 

rpm -ivh file