[sugar] Glib bug?

Marco Pesenti Gritti mpg
Wed Jan 10 21:57:33 EST 2007


On Wed, 2007-01-10 at 23:45 -0300, Gonzalo Odiard wrote:
> I don't know if this is a Glib o sugar bug, or a temporary problem
> (the crazy live of cvs/svn):
> 
> checking for GLIB - version >= 2.5.7...
> *** 'pkg-config --modversion glib-2.0' returned 2.12.8, but GLIB
> ( 2.13.0)
> *** 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
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking pkg-config is at least version 0.7... yes
> checking for GLIB - version >= 2.0.0...
> *** 'pkg-config --modversion glib-2.0' returned 2.12.8, but GLIB
> (2.13.0)
> *** 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/. 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.
> make: *** [config.status] Error 1
> *** error during stage build of atk: Error running make   *** [5/35]

Maybe related to lib64. It would help to know where you have 2.13 and
where you have 2.12 (system path/jhbuild path).

A few days ago we was building 2.13 by mistake in sugar-jhbuild, so if
it's an old build that might be the issue. Removing source glib and
rebuilding would solve it in that case. Still I have the impression the
paths are not all setup correctly for lib64 yet.

Marco



More information about the Sugar-devel mailing list