[Fontconfig] xft failed to build

Francis Lavoie franz04 at yahoo.fr
Thu May 6 09:34:05 EST 2004

I installed freetype 2.1.8, then fontconfig 2.2.2.
Everything was ok

but xft is always complaning and exit with error code
2 when building.

The error seems to be with freetype, so I uninstall it
and retry with another version, but I still get the

error :
 gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/freetype2 -I/usr/X11R6/include
"-I%{x11includedir}" -g -O2 -MT xftcolor.lo -MD -MP
-MF .deps/xftcolor.Tpo -c xftcolor.c  -fPIC -o
In file included from Xft.h:41,
                 from xftint.h:39,
                 from xftcolor.c:25:
#error "`ft2build.h' hasn't been included yet!"
#error "Please always use macros to include FreeType
header files."
#error "Example:"
#error "  #include <ft2build.h>"
#error "  #include FT_FREETYPE_H"
make[1]: *** [xftcolor.lo] Erreur 1
make[1]: Leaving directory `/usr/src/gnome/xft-2.1.2'
make: *** [all] Erreur 2

Is there something I did wrong? 

Lèche-vitrine ou lèche-écran ?

More information about the Fontconfig mailing list