Hi,

I'm tryign to build the gtk2.0 package for hardy.. and configure fails with

..
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.13.5... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
*** GLIB 2.13.5 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

from config.log:
configure:24591: gcc -o conftest -g -O2 -Wall -D_REENTRANT -D_PTHREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     conftest.c
-lgobject-2.0 -lgmo
dule-2.0 -lgthread-2.0 -lpthread -lthread -lglib-2.0 -lintl -liconv
-lintl  >&5
configure:24594: $? = 0
configure:24600: ./conftest
./configure: line 24601: 20986 Segmentation Fault      (core dumped)
./conftest$ac_exeext
configure:24603: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "gtk+"
| #define PACKAGE_TARNAME "gtk+"
.....snip program that failes.
..
|       }
|     }
|   return 1;
| }
|
configure:24627: result: no
configure:24665: gcc -o conftest -g -O2 -Wall -D_REENTRANT -D_PTHREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     conftest.c
-lintl  -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread
-lglib-2.0 -lintl -liconv   >&5
configure:24671: $? = 0
configure:24707: error:
*** GLIB 2.13.5 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

This error has widely seen on solaris packages that require glib. i've
tried setting LD_LIBRARY_PATH=/usr/lib.. but that didnt help.

Has anyone faced this error before?

Anil
_______________________________________________
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel

Reply via email to