RSS/Atom feed Twitter
Site is read-only, email is disabled

configure error?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

configure error? McAfee 27 Jun 03:59
  configure error? Owen Cook 27 Jun 04:31
McAfee
2005-06-27 03:59:21 UTC (almost 19 years ago)

configure error?

I recently cleaned up my system and in so doing may have jinxed it :-(

When I ran 'configure' for GIMP 2.2.6. I received the following error:

... checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.4.5... sh: gnome-config: not found sh: gnome-config: not found
no
*** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help. ...

How do I correct this? libglib-2.0.so is installed in /opt/sfw/lib and the LD_LIBRARY_PATH env variable is set accordingly! Neither file 'INSTALL' nor 'config.log' is of any help.

Thanks

Owen Cook
2005-06-27 04:31:15 UTC (almost 19 years ago)

configure error?

On Sun, 26 Jun 2005, McAfee wrote:

I recently cleaned up my system and in so doing may have jinxed it :-(

When I ran 'configure' for GIMP 2.2.6. I received the following error:

... checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.4.5... sh: gnome-config: not found sh: gnome-config: not found
no
*** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help. ...

How do I correct this? libglib-2.0.so is installed in /opt/sfw/lib and the LD_LIBRARY_PATH env variable is set accordingly! Neither file 'INSTALL' nor 'config.log' is of any help.

You are into the realm of paths etc.

Step one. Find where the .pc file is

/usr/lib/pkgconfig/glib-2.0.pc is where it is on my system

Step two. Read it

prefix=/usr exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

glib_genmarshal=glib-genmarshal gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: GLib Description: C Utility Library
Version: 2.6.5
Libs: -L${libdir} -lglib-2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include

Now adjust your assign your pkg-config path accordingly

There is a fair bit about this sort of problem in the mail archives for march I think

LD_LIBRARY_PATH=/Your/Path/Here:/usr/local/lib:/usr/lib PKG_CONFIG_PATH=/Your/Path/Here:/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/

Owen