Cannot get Xorg to make.

Andrew Sharp andrew.sharp3 at ntlworld.com
Mon Oct 11 04:06:58 PDT 2004


Dear experts,

I am using the BLFS book 5.1 with fontconfig-2.2.2. The book does not warn of 
a problem with this version of fontconfig, especially its ft2build.h file. 
During the install phase, I get :

+ install -c -m 0444 Xrender.h /usr/X11R6/include/X11/extensions
install in lib/Xrender done
make[3]: Leaving directory `/packages/xc/lib/Xrender'
installing in lib/Xft1...
make[3]: Entering directory `/packages/xc/lib/Xft1'
rm -f xftcfg.o
gcc -m32 -c -O2 -fomit-frame-pointer -march=i686  -ansi -pedantic -pipe  
-I/usr/include/freetype2  -I../.. -I../../exports/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    
-DFREETYPE2      -fPIC xftcfg.c
In file included from XftFreetype.h:29,
                 from xftint.h:31,
                 from xftcfg.c:28:
/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[3]: *** [xftcfg.o] Error 1
make[3]: Leaving directory `/packages/xc/lib/Xft1'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/packages/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/packages/xc'
make: *** [install] Error 2
root at lfs:/packages/xc#



More information about the blfs-support mailing list