Been mucking with this for hours. Compiling and installing to ~/gnome, when I ran make I got the following... ----------------------------- 10:11:50 ~/fontconfig-2.2.0> make make all-recursive make[1]: Entering directory `/home/wm/fontconfig-2.2.0' Making all in fontconfig make[2]: Entering directory `/home/wm/fontconfig-2.2.0/fontconfig' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/wm/fontconfig-2.2.0/fontconfig' Making all in fc-lang make[2]: Entering directory `/home/wm/fontconfig-2.2.0/fc-lang' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/home/wm/gnome/include/freetype2 -I/home/wm/gnome/include -g -O2 -c fc-lang.c In file included from ../fontconfig/fcfreetype.h:27, from ../src/fcint.h:39, from fc-lang.c:25: /home/wm/gnome/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /home/wm/gnome/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /home/wm/gnome/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /home/wm/gnome/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /home/wm/gnome/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[2]: *** [fc-lang.o] Error 1 make[2]: Leaving directory `/home/wm/fontconfig-2.2.0/fc-lang' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wm/fontconfig-2.2.0' make: *** [all-recursive-am] Error 2 10:13:44 ~/fontconfig-2.2.0> --------------------- Fixed it by adding "#include <ft2build.h>" to /src/fcint.h, line 39. Make again... ----------------------- <snip the first half, successful compiles, etc> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/wm/gnome/include/freetype2 -I/home/wm/gnome/include -I/home/wm/gnome/include -DFONTCONFIG_PATH=\"/home/wm/gnome/etc/fonts\" -I.. -I../src -g -O2 -c fcdir.c -o fcdir.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/wm/gnome/include/freetype2 -I/home/wm/gnome/include -I/home/wm/gnome/include -DFONTCONFIG_PATH='"/home/wm/gnome/etc/fonts"' -I.. -I../src -g -O2 -c fcfreetype.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/wm/gnome/include/freetype2 -I/home/wm/gnome/include -I/home/wm/gnome/include -DFONTCONFIG_PATH=\"/home/wm/gnome/etc/fonts\" -I.. -I../src -g -O2 -c fcfreetype.c -fPIC -o .libs/fcfreetype.o In file included from fcfreetype.c:60: /home/wm/gnome/include/freetype2/freetype/ftmodule.h:2: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:3: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:4: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:5: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:6: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:7: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:8: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:9: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:10: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:11: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:12: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:13: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:14: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:15: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:16: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:17: error: parse error before "FT_USE_MODULE" /home/wm/gnome/include/freetype2/freetype/ftmodule.h:18: error: parse error before "FT_USE_MODULE" fcfreetype.c: In function `FT_USE_MODULE': fcfreetype.c:78: warning: structure defined inside parms fcfreetype.c:78: error: storage class specified for parameter `FcCodePageRange' fcfreetype.c:78: error: parameter `FcCodePageRange' is initialized fcfreetype.c:79: warning: braces around scalar initializer fcfreetype.c:79: warning: (near initialization for `FcCodePageRange') fcfreetype.c:79: warning: initialization makes pointer from integer without a cast fcfreetype.c:79: warning: excess elements in scalar initializer fcfreetype.c:79: warning: (near initialization for `FcCodePageRange') fcfreetype.c:80: warning: braces around scalar initializer fcfreetype.c:80: warning: (near initialization for `FcCodePageRange') fcfreetype.c:80: warning: initialization makes pointer from integer without a cast fcfreetype.c:80: warning: excess elements in scalar initializer fcfreetype.c:80: warning: (near initialization for `FcCodePageRange') fcfreetype.c:80: warning: excess elements in scalar initializer fcfreetype.c:80: warning: (near initialization for `FcCodePageRange') fcfreetype.c:81: warning: braces around scalar initializer fcfreetype.c:81: warning: (near initialization for `FcCodePageRange') fcfreetype.c:81: warning: initialization makes pointer from integer without a cast fcfreetype.c:81: warning: excess elements in scalar initializer fcfreetype.c:81: warning: (near initialization for `FcCodePageRange') fcfreetype.c:81: warning: excess elements in scalar initializer fcfreetype.c:81: warning: (near initialization for `FcCodePageRange') fcfreetype.c:82: warning: braces around scalar initializer fcfreetype.c:82: warning: (near initialization for `FcCodePageRange') fcfreetype.c:82: warning: initialization makes pointer from integer without a cast fcfreetype.c:82: warning: excess elements in scalar initializer fcfreetype.c:82: warning: (near initialization for `FcCodePageRange') fcfreetype.c:82: warning: excess elements in scalar initializer fcfreetype.c:82: warning: (near initialization for `FcCodePageRange') fcfreetype.c:89: error: parse error before '{' token fcfreetype.c:89: error: declaration for parameter `FcFreeTypeIsExclusiveLang' but no such parameter fcfreetype.c:78: error: declaration for parameter `FcCodePageRange' but no such parameter fcfreetype.c:94: error: `lang' undeclared (first use in this function) fcfreetype.c:94: error: (Each undeclared identifier is reported only once fcfreetype.c:94: error: for each function it appears in.) fcfreetype.c: In function `FcFreeTypeQuery': fcfreetype.c:664: error: `FcCodePageRange' undeclared (first use in this function) make[2]: *** [fcfreetype.lo] Error 1 make[2]: Leaving directory `/home/wm/fontconfig-2.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wm/fontconfig-2.2.0' make: *** [all-recursive-am] Error 2 10:15:26 ~/fontconfig-2.2.0> -------------------------- Been trying to get this to compile for the past few hours. Any ideas? Thanks in advance, JP