[Fontconfig] Errors when compiling Xft

Keith Packard keithp at keithp.com
Sun Mar 23 04:35:18 EST 2003

Around 6 o'clock on Mar 21, Roland =?ISO-8859-1?Q?G=E4n=DFler?= wrote:

> cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -fPIC -DPIC -c xftcolor.c -o xftcolor.o
> In file included from xftint.h:39,
>                  from xftcolor.c:25:
> Xft.h:52: parse error before `_XftFTlibrary'

Somehow you're using Freetype1 headers instead of Freetype2 headers.  You 
may need to pass additional options to ./configure to set where Freetype2 
headers have been installed.  ./configure -help should show you what those 


More information about the Fontconfig mailing list