GTK+ build from source - problem with glib installation?

From: Brett L. Moore (bmoore_at_127.0.0.1)
Date: 07/13/03


Date: Sun, 13 Jul 2003 05:47:17 GMT

Hi,
 
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:

<snip>
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
configure: error:
*** 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.
Thanks,
Brett



Relevant Pages

  • Re: thoughts for a C compiler
    ... I will be compiling at runtime (basically treating C like a ... Take the example of the glib I mentioned in the other msg. ... as for the scriptC interface, this is less clear as of yet. ... Headers can't really be auto translated, ...
    (comp.lang.misc)
  • Re: Portupgrade problem
    ... > problems relate back to updating dependancies of glib-2.4.0. ... I eventually did a -rf glib to get ... I started out with a clean 5.2-RELEASE and did cvsup 4 days ago. ... It still don't tell me why I have no directory for atk, ...
    (freebsd-questions)
  • Re: [SLE] Library question
    ... SC>I have compiled the latest GLIB library from source but... ... I am running SuSE 8.1. ... Try running ldconfig 9as root). ... Then try compiling your application. ...
    (SuSE)
  • Re: Glib, GTK and XMMS plugins - help required!!!
    ... because compiling with 9.1 Personal is a problem. ... >>btw, refering to other rpms, I meant my previous installation of SuSE (I ... *** no rpm named glib-config installed ... Static Libraries and Header Files for glib ...
    (alt.os.linux.suse)
  • Re: problems building gtkhtml-3.8.2
    ... GIMP Tool Kit (${target} target) ... Requires: gdk-$-2.0 atk ... The file is plain text, and will specifically indicate the version ... You have glibc but I don't see glib. ...
    (alt.os.linux.suse)