How To Build w/ fontconfg/Xft2


I'm trying to build the latest CVS, and am getting stuck on fontconfig. I picked up and build fontconfig using:

./cvscompile --prefix=/usr/local
su -
make install

And built Xft using:
./configure --prefix=/usr/local
su -
make install

When I configure Pango it seems to find fontconfig and Xft fine, but when I do a make, I get the following error:

Making all in hangul
make[3]: Entering directory `/home/emader/pango/modules/hangul'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DG_DISABLE_DEPRECATED -I../.. -I../../pango/ -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -c hangul-xft.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DG_DISABLE_DEPRECATED -I../.. -I../../pango/ -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wp,-MD,.deps/hangul-xft.pp -c hangul-xft.c -fPIC -DPIC -o hangul-xft.o
In file included from hangul-xft.c:25:
../../pango/pangoxft.h:37:2: #error "must have Xft version 2 or newer"
make[3]: *** [hangul-xft.lo] Error 1
make[3]: Leaving directory `/home/emader/pango/modules/hangul'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emader/pango/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emader/pango'
make: *** [all-recursive-am] Error 2
[emader doramichan pango]$

I'm not sure, but it looked like it made some other Xft modules before this without complaining...

Can anyone tell me what I need to do to get Pango to compile again?

Eric Mader
IBM GCoC - San Josť
5600 Cottle Rd.  M/S 50-2/B11
San Jose, CA 95193

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