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

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
.libs/xftcolor.o
In file included from Xft.h:41,
                 from xftint.h:39,
                 from xftcolor.c:25:
/usr/include/freetype2/freetype/freetype.h:20:2:
#error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2:
#error "Please always use macros to include FreeType
header files."
/usr/include/freetype2/freetype/freetype.h:22:2:
#error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2:
#error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2:
#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 ?
magasinage.yahoo.ca




More information about the Fontconfig mailing list