problem building gtk
- From: Dov Kruger <dkruger stevens edu>
- To: "gtk-list gnome org " <gtk-list gnome org>
- Subject: problem building gtk
- Date: Fri, 07 May 2004 11:29:59 -0400
Hello,
Sorry about the previous post. I didn't include enough information.
rehat9 comes with libglib-1.2.so.0.0.10. It works.
I did an rpm install:
rpm -i glib-2.4.1-1.i686.rpm
glib successfully installs, but there isn't a file labelled 2.4,
instead, in /usr/lib:
-rwxr-xr-x 1 root root 514472 Apr 30 13:38
/usr/lib/libglib-2.0.so.0.400.1
lrwxrwxrwx 1 root root 22 May 6 11:06
/usr/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.400.1
I would have simply assumed this is correct, were it not for the fact
that building pango 1.4:
checking for GLIB - version >= 2.4.0... 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:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
Here's the top and what I hope is the relevant portion of the log:
hostname = pritchard
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003
...
configure:21622: checking for GLIB - version >= 2.4.0
configure:21771: result: no
configure:21804: gcc -o conftest -g -O2 -Wall conftest.c >&5
conftest.c:27:18: glib.h: No such file or directory
conftest.c: In function `main':
conftest.c:33: `glib_major_version' undeclared (first use in this
function)
conftest.c:33: (Each undeclared identifier is reported only once
conftest.c:33: for each function it appears in.)
conftest.c:33: `glib_minor_version' undeclared (first use in this
function)
conftest.c:33: `glib_micro_version' undeclared (first use in this
function)
configure:21810: $? = 1
configure: failed program was:
| /* confdefs.h. */
I tried building glib-2.4.1 by hand from source, which puts the
libraries in /usr/local/lib, and my LD_LIBRARY_PATH is set to that
first. No difference. So what am I doing wrong?
thanks,
Dov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]