Re: glib-2.2.3 vs. pkgconfig-0.15.0



Pavel-

I think I may know what is happening to you, having run into this issue
with the 2.2.2 series.  It looks like, to me, that you have different
versions of glib installed in different places.  At a guess, I'd say
that you have the 2.2.3 version installed in a nonstandard location, and
have your PKG_CONFIG_PATH environment variable set to detect the 2.2.3
version of glib.  However, when the configure script for atk actually
checks for the presence of glib, it attempts to build a small test
program which is then linked against glib.  This test program then
queries the version of glib actually linked against to determine what
the version of the library actually is, and checks it against the values
returned by pkg-config.  This would be all well and good, except that
the lib pathing returned by the pkg-config for glib is not passed to the
glib test program that is built.  Incidentally, one way you can work
around this is to put the installation path for your 2.2.3 version of
glib into your LD_LIBRARY_PATH before invoking configure or make.

Granted, it would be nice enough if the people writing the configure
scripts for opensource tools would provide some way for having the
configure script pass the paths from pkg-config down to the portion of
configure that actually builds the conftest programs, but for some
reason, most of the opensource, glib based tools that I have needed to
build from source do not do so.

Hope this helps, 
Aaron


On Sun, 2004-02-01 at 12:11, solin rice edu wrote:
> Hi there,
>   I have installed glib-2.2.3, however then
> there is a problem with pkgconfig-0.15.0
> I cannot solve. The error occured while
> running .configure script of atk-1.2.4. 
> Thank you in advance for any suggestions!
> 
> checking for GLIB - version >= 2.0.0...
> *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.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 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/.
> linux:~/atk-1.2.4 # make
> make: *** No targets specified and no makefile found.  Stop.
> linux:~/atk-1.2.4 # 
> 
> Pavel Solin
> (CAAM, Rice University, Houston, TX)
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]