Trouble building fontconfig-2.2.0 on cygwin

Steve Kelem skelem at elementcxi.com
Tue Jun 14 21:21:17 EEST 2005


I'm trying to compile fontconfig-2.2.0 on the latest cygwin.
I have built and installed freetype-2.1.10.

I configured fontconfig with:
./configure \
--cache-file=/usr/share/config/config.cache \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
$*

When I compile, I get the following error message:

make  all-recursive
make[1]: Entering directory `/usr/local/src/fontconfig-2.2.0'
Making all in fontconfig
make[2]: Entering directory `/usr/local/src/fontconfig-2.2.0/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/fontconfig-2.2.0/fontconfig'
Making all in fc-lang
make[2]: Entering directory `/usr/local/src/fontconfig-2.2.0/fc-lang'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/freetype2    -g 
-O2 -c fc-lang.c
In file included from ../fontconfig/fcfreetype.h:27,
                 from ../src/fcint.h:39,
                 from fc-lang.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[2]: *** [fc-lang.o] Error 1
make[2]: Leaving directory `/usr/local/src/fontconfig-2.2.0/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2

Any ideas?

Thanks,
Steve




More information about the xdg mailing list