[Xorg] Build failure: ft2build.h not found

Felix Kühling fxkuehl at gmx.de
Wed Aug 25 08:34:01 PDT 2004


On my notebook the build failed in fcatomic.c because ft2build.h was not
found. It is present in the xorg tree in three different versions in
three different places, but none seems to be in the include search path
for fcatomic.c. On my other box the build worked because I have the
fontconfig development package installed which provides ft2build.h in

I ran this build with the host.def file (with different Mesa and DRM
paths and optimization options) I posted to this list on Monday.

make[4]: Entering directory `/home/src/xorg/trunk/xc/lib/fontconfig'
rm -f fcatomic.o
gcc -m32 -c -gstabs+ -pipe -O3 -march=athlon-4  -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes                         -Wmissing-prototypes -Wmissing-declarations                     -Wredundant-decls -Wnested-externs -Wundef  -I../../exports/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../extras/fontconfig/src    -I../../extras/fontconfig -I../../exports/include/X11  -I../.. -I../../exports/include -I/usr/X11R6-XORG/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE
                 -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2         -DFONTCONFIG_PATH='"/usr/X11R6-XORG/etc/fonts"'
    -fPIC fcatomic.c
In Datei, eingefügt von ../../extras/fontconfig/src/fcint.h:38,
                    von fcatomic.c:49:
../../exports/include/fontconfig/fcfreetype.h:26:22: ft2build.h: Datei oder Verzeichnis nicht gefunden

felix at trabant:~/xorg$ ls -l `find . -name ft2build.h`
-rw-r--r--  1 felix src 2002 2004-04-23 20:42 ./extras/freetype2/devel/ft2build.h
-rw-r--r--  1 felix src 2185 2003-11-14 17:48 ./extras/freetype2/include/ft2build.h
-rw-r--r--  1 felix src 2505 2004-04-23 20:44 ./lib/font/FreeType/module/ft2build.h


| Felix Kühling <fxkuehl at gmx.de>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |

More information about the xorg mailing list