Re: How To Build w/ fontconfg/Xft2



> Hello,
> 
> I'm trying to build the latest CVS, and am getting stuck on fontconfig. I 
> picked up http://keithp.com/fonts/pub/fcpackage.02-07-28.03-57.tar.gz and 
> build fontconfig using:
> 
> ./cvscompile --prefix=/usr/local
> make
> su -
> make install
> 
> And built Xft using:
> ./configure --prefix=/usr/local
> make
> 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?
> 

I had to add a missing $(XFT_CFLAGS) to the INCLUDES in hangul/Makefile.am
(don't forget to rerun automake and config.status after that).  thai may
need
the same treatment, don't remember exactly.

Matthias

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




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