Groups > Unix Linux > Linux general discussion > Re: glib version




glib version

glib version
Sun, 02 Mar 2008 21:55:30 -050
Hi, I am running SuSe linux enterprise 10 sp1.
I am trying to install gtk and it kept complaining that my glib is not 
up date, as I was doing ./configure
==========================================================
configure: error:
*** GLIB 2.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
==========================================================

BUt I downloaded GLIB 2.14 and installed it.  It seems to be no problem. 
  The way I did GLIB install, was to run ./configure, and then make, 
then make install.  It seemed to have completed successfully.

My question is, how do I find out what GLIB I have installed in my 
system? How does GTK know that I do not have the latest? Where is it 
picking this up?

THanks
Post Reply
Re: glib version
Sun, 2 Mar 2008 22:30:01 -0500
What is more weird is this...is complains that it has found yet a different 
version of GLIB

*** 'pkg-config --modversion glib-2.0' returned 2.14.0, but GLIB (2.8.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH environment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.


"Sean T Shen" <seantshen8219@optonline.net> wrote in message 
news:47cb67c6$0$5642$607ed4bc@cv.net...
> Hi, I am running SuSe linux enterprise 10 sp1.
> I am trying to install gtk and it kept complaining that my glib is not up 
> date, as I was doing ./configure
> ==========================================================
> configure: error:
> *** GLIB 2.5.7 or better is required. The latest version of
> *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
> *** but not in the same location as pkg-config add the location of the 
> file
> *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
> ==========================================================
>
> BUt I downloaded GLIB 2.14 and installed it.  It seems to be no problem. 
> The way I did GLIB install, was to run ./configure, and then make, then 
> make install.  It seemed to have completed successfully.
>
> My question is, how do I find out what GLIB I have installed in my system?

> How does GTK know that I do not have the latest? Where is it picking this 
> up?
>
> THanks
> Sean 

Post Reply
about | contact