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

_______________________________________________
Gimp-user mailing list
[email protected]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to