xft build error - trying to build gtk



Hi all:

I am building on a G4 Powerbook running OS 10.3.4. I am using the standard tools distributed with X-Code Tools 1.2. This includes gcc 3.3 and GNU make 3.79

I am trying to build GTK and have gotten as far as building xft. I seem to be having trouble with the freetype package. The versions are: xft-2.1.2 and freetype-2.1.9

I ran ./configure - appeared to run with no errors

Then ran make and following error:

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: *** [all] Error 2

I have tried cleaning and the rebuilding freetype and xft, but don't seem to be getting anywhere. Does anyone have any ideas of what I can try?

Thanks for any help

Jerry




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]