fontconfig install problem
i am trying to install fontconfig but i get this error when running make.
make[2]: Entering directory `/home/ahart/fontconfig-2.2.0/fc-lang'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include/freetype2 -I/usr/local/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:
/usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[2]: *** [fc-lang.o] Error 1
make[2]: Leaving directory `/home/ahart/fontconfig-2.2.0/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ahart/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2
it seems like it isnt recognizing freetype but i just installed that, can someone help?
|