Pango/Xft compile problem



GTK is needed for a bunch of X-Windows programs, and it requires pango, so
I downloaded pango-1.0.5. I tried to install, but during ./configure, the
following lines appeared:

..
checking for XftFontOpen in -lXft... yes
checking X11/Xft/XftFreetype.h usability... no
checking X11/Xft/XftFreetype.h presence... yes
configure: WARNING: X11/Xft/XftFreetype.h: present but cannot be compiled
configure: WARNING: X11/Xft/XftFreetype.h: check for missing prerequisite headers?
configure: WARNING: X11/Xft/XftFreetype.h: proceeding with the preprocessor's result
checking for X11/Xft/XftFreetype.h... yes
checking for pkg-config... /usr/local/bin/pkg-config
..

So a certain include file, XftFreetype.h is there but cannot be compiled
for some reason. Consequently, make fails, see output below. I looked
around on the web and found a hint to use a newer version of XFree86, at
least 4.2.0, and I am using 4.3.0. The problem is really annoying because
I cannot use mozilla, gnumeric, abiword, all these dayly tools.

Thanks in advance, and here is the make output:

make  all-recursive
make[1]: Entering directory `/usr/opt/pango'
Making all in pango
make[2]: Entering directory `/usr/opt/pango/pango'
Making all in opentype
make[3]: Entering directory `/usr/opt/pango/pango/opentype'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/opt/pango/pango/opentype'
Making all in mini-fribidi
make[3]: Entering directory `/usr/opt/pango/pango/mini-fribidi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/opt/pango/pango/mini-fribidi'
Making all in mini-xft
make[3]: Entering directory `/usr/opt/pango/pango/mini-xft'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/opt/pango/pango/mini-xft'
make[3]: Entering directory `/usr/opt/pango/pango'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.0.0\" -DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I..    -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -c pangoxft-font.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.0.0\" -DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I.. -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -c pangoxft-font.c  -fPIC -DPIC -o pangoxft-font.lo
In file included from pangoxft-font.c:27:
/usr/X11R6/include/X11/Xft/XftFreetype.h:73: parse error before `*'
/usr/X11R6/include/X11/Xft/XftFreetype.h:74: warning: type defaults to `int' in declaration of `XftFreeTypeOpen'
/usr/X11R6/include/X11/Xft/XftFreetype.h:74: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:77: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:79: parse error before `*'
/usr/X11R6/include/X11/Xft/XftFreetype.h:80: warning: type defaults to `int' in declaration of `XftFreeTypeGet'
/usr/X11R6/include/X11/Xft/XftFreetype.h:80: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:88: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:94: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:101: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:108: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:115: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:122: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:129: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:136: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:143: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:150: parse error before `XftFontStruct'
/usr/X11R6/include/X11/Xft/XftFreetype.h:157: parse error before `XftFontStruct'
pangoxft-font.c: In function `pango_xft_real_render':
pangoxft-font.c:317: structure has no member named `u'
pangoxft-font.c:330: structure has no member named `u'
pangoxft-font.c: In function `load_fallback_font':
pangoxft-font.c:717: structure has no member named `u'
pangoxft-font.c: In function `pango_xft_font_get_font':
pangoxft-font.c:766: structure has no member named `u'
pangoxft-font.c: In function `pango_xft_font_get_face':
pangoxft-font.c:842: structure has no member named `core'
pangoxft-font.c:845: structure has no member named `u'
make[3]: *** [pangoxft-font.lo] Error 1
make[3]: Leaving directory `/usr/opt/pango/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/opt/pango/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/opt/pango'
make: *** [all-recursive-am] Error 2



-------------------------------------------------
Frank Hrebabetzky	Tel.:     +55 / 48 / 9998 7686
Florianopolis		email:	  frankh terra com br
Brazil




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]