More Pango/GTK+ Build Problems
- From: Eric Mader <mader jtcsv com>
- To: gtk-i18n-list gnome org
- Subject: More Pango/GTK+ Build Problems
- Date: Thu, 08 Aug 2002 15:40:57 -0700
Hello,
Whew! I've had a tough day fighting w/ the Pango build system... I still
can't get everything to build, but here's what I've learned so far:
In gtk+/configure.in PANGO_PACKAGES is defined once as "pangox pangoxft"
and once as "pangoxft pangox" It looks like it needs to always be defined
as "pangox pangoxft" in order to get the --cflags in the correct order.
Here's what pkg-config says:
[emader doramichan gtk+]$ pkg-config --cflags pangoxft pangox
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include
-I/usr/include/freetype2
[emader doramichan gtk+]$ pkg-config --cflags pangox pangoxft
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/include/freetype2 -I/usr/X11R6/include
[emader doramichan gtk+]$
Notice that in the first one, /usr/X11R6/include is *before*
/usr/local/include. This causes pangoxft.h to find the wrong version of
Xft.h and complain about a bad version number.
I've been trying to get two builds working at once, one on RedHat7.2 and
one on RedHat7.3 (I don't recommend this unless you're a thrill seeker :-)
It seems that RH7.3 installs a version of pkg-config. This had two
consequences I didn't expect:
1) I had to set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig to see the correct
set of .pc files
2) There is a /usr/share/aclocal/pkg.m4 file installed which contains a
version of the PKG_CHECK_CONFIG macro - this gets some of the Makefile's
and configure files very upset. I had to rename it to pkg.not-m4 to get all
the autogen.sh scripts to run without complaining
Also, on RH7.3 the pango samples don't compile; they get a lot of error
messages having to do with Qt; I assume that the version installed on RH7.3
is too new... Does anyone have a good work-around for this?
Thanks,
Eric Mader
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]