[Fontconfig] Errors when compiling Xft

Keith Packard fontconfig@fontconfig.org
Sat, 22 Mar 2003 09:35:18 -0800


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 
are.

-keith