need help install GTK
- From: "Mathew Kohel" <matt netstream net>
- To: <gtk-list gnome org>
- Subject: need help install GTK
- Date: Mon, 22 Apr 2002 21:51:49 -0500
I been trying to install The GIMP for a couple of days now, but I cant seem
to get past installing the pango library for GTK. It can not find the glib,
but I just compiled glib version 2.0.1. Here is there error message I get
when I run configure for pango:
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... 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.0.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
[root localhost pango-1.0.1]#
Anybody have suggestions on what I need to do get this compiled. I have
Mandrake 8.1, and have included information below on what I have check\tried
so far.
============================================================================
=====================
contents of glib-2.0.pc
prefix=/usr/local
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.0.1
Libs: -L${libdir} -lglib-2.0
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/includeprefix=/usr/loc
al
============================================================================
====================
I added /usr/local/lib to the ld.so.conf file and rebooted.
[root localhost etc]# cat ld.so.conf
/usr/X11R6/lib
/usr/lib
/usr/local/lib
[root localhost etc]#
============================================================================
====================
libglib-2.0.1 seems to be the only version of glib installed at the moment.
I beleive there was some an old version of libglib on my system but I
deleted it.
[root localhost lib]# cd /
[root localhost /]# cd usr/local/lib
[root localhost lib]# ls -l libglib*
-rwxr-xr-x 1 root root 713 Apr 22 20:52 libglib-2.0.la*
lrwxrwxrwx 1 root root 20 Apr 22 20:52 libglib-2.0.so ->
libglib-2.0.so.0.0.1*
lrwxrwxrwx 1 root root 20 Apr 22 20:52 libglib-2.0.so.0 ->
libglib-2.0.so.0.0.1*
-rwxr-xr-x 1 root root 1069741 Apr 22 20:52
libglib-2.0.so.0.0.1*
[root localhost lib]#
[root localhost /]# find . -name libglib* -print
./usr/share/doc/libglib1.2-1.2.10
./usr/local/lib/libglib-2.0.so.0.0.1
./usr/local/lib/libglib-2.0.so.0
./usr/local/lib/libglib-2.0.so
./usr/local/lib/libglib-2.0.la
./usr/src/glib-2.0.1/glib/.libs/libglib-2.0.so.0.0.1
./usr/src/glib-2.0.1/glib/.libs/libglib-2.0.so.0
./usr/src/glib-2.0.1/glib/.libs/libglib-2.0.so
./usr/src/glib-2.0.1/glib/.libs/libglib-2.0.lai
./usr/src/glib-2.0.1/glib/.libs/libglib-2.0.la
./usr/src/glib-2.0.1/glib/libglib-2.0.la
./usr/src/pkgconfig-0.12.0/glib-1.2.8/.libs/libglib.al
./usr/src/pkgconfig-0.12.0/glib-1.2.8/.libs/libglib.la
./usr/src/pkgconfig-0.12.0/glib-1.2.8/libglib.la
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]