[xorg-bugzilla-noise] [Bug 420] X fails to build because of fontconfig

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Sun Apr 18 03:38:03 EST 2004


http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=420





------- Additional Comments From rtuck99 at ntlworld.com  2004-04-18 03:38 -------
Hi,

I am having similar problems - I have freetype 2.1.7 and fontconfig-2.2.2 already installed in /usr/
X11R6 - when I compile with the default configuration (on linux) I get
gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith -Wundef   -I/usr/include/
freetype2 -I/usr/include/freetype2/config -I../../extras/fontconfig/src         -I../../extras/fontconfig 
-I../../exports/include/X11  -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    -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2       
-DFONTCONFIG_PATH='"/etc/fonts"'  -DXVENDORNAME='"The X.Org Foundation"' 
-DXVENDORNAMESHORT='"X.Org"'    -fPIC fcatomic.c
In file included from ../../extras/fontconfig/src/fcint.h:39,
                 from fcatomic.c:50:
../../extras/fontconfig/fontconfig/fcfreetype.h:27:22: ft2build.h: No such file or directory
../../extras/fontconfig/fontconfig/fcfreetype.h:28:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../extras/fontconfig/src/fcint.h:39,
                 from fcatomic.c:50:
../../extras/fontconfig/fontconfig/fcfreetype.h:31: parse error before "FcFreeTypeCharIndex"

It looks as though Xorg expects them to be installed in /usr and it doesn't bother to check freetype-
config to see where they really are.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list