Strange error while compiling xft.
In file included from Xft.h:41,
from xftint.h:39,
from xftcolor.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[1]: *** [xftcolor.lo] Error 1
make[1]: Leaving directory `/root/software/xft-2.1.2'
make: *** [all] Error 2
Does anyone have any idea what would cause this? It's possible that it's missing some libraries, but I have no idea where to find them, or what they are since XFT is pretty terribly documented. Any help is greatly appreciated. :-)
|