GTK+ build from source - problem with glib installation?
From: Brett L. Moore (bmoore_at_127.0.0.1)
Date: Sun, 13 Jul 2003 05:47:17 GMT
I am trying to upgrade from GTK+ 1.2 to 2.2 by compiling the 2.2.2
source.(RH 7.3, gcc 2.96). It appears that I must upgrade ATK, Pango, and
GLIB, as well - and there lies the problem.
I compiled the GLIB source (make, make install) with no visible problems,
then I moved on to compiling atk. ./configure reports:
checking for GLIB - version >= 2.0.0... *** 'pkg-config --modversion
glib-2.0' returned 2.2.2, but GLIB (2.0.1) *** 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
enviroment 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
*** GLIB 2.0.0 or better is required. The latest version of *** GLIB is
always available from ftp://ftp.gtk.org/.
I checked /usr/local/lib and a glib-2.0 dir exists there. It appears that
glib-2.2 is being misidentified as glib-2.0. How do I correct this? I
tried running ldconfig after the glib make install (but before the
./configure for atk) - but the problem persists.