Current snapshot with freetype 2.1.1, compile failure, complaining about:
In file included from /home/mdev/_src/php4-200206150600/ext/gd/libgd/gdft.c:44:
/usr/local/include/freetype2/freetype/ftglyph.h:104: syntax error before `FT_Library'
/usr/local/include/freetype2/freetype/ftglyph.h:106: syntax error before `FT_Glyph_Format'
/usr/local/include/freetype2/freetype/ftglyph.h:157: syntax error before `FT_Int'
/usr/local/include/freetype2/freetype/ftglyph.h:205: syntax error before `FT_Outline'
/usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error before `FT_Get_Glyph'
/usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error before `slot'
/usr/local/include/freetype2/freetype/ftglyph.h:229: warning: data definition has no type or storage class
Got it.
There was a package from a 4.2 installation, in /usr/local/include/freetype - or maybe it's even used by some desktop app - it doesn't list as being in the current ports package for FreeBSD.
I've moved it do freetype.disabled just in case KDE starts complaining and all was well.
Since /usr/local/include precedes /usr/local/include/freetype2 the wrong freetype/freetype.h header was included.
Should we check for this, or put in the FAQ?
Met vriendelijke groeten / With kind regards,
IDG.nl
Melvyn Sopacua
Webmaster