I had the same problem, but I was able to build it by uninstalling freetype,
freetype-bin, and fretype2 (I kept all of the -shlibs).
Most of these problems come from the fact that there are two (or 3) candidates for the header file called by
#include <freetype/freetype.h>
namely /PREFIX/include/freetype/freetype.h (from freetype) and /PREFIX/include/freetype2/freetype/freetype.h (from freetype2)
where PREFIX can be /usr/X11R6 or /sw.
I don't know what devil put the idea into the heads of the freetype2 guys to put their headers into a directory freetype2/freetype/ instead of directly into freetype2/. Maybe some misguided attempt at backward compatibility, but in any case, the two freetype.h headers are not compatible.
Another problem (but probably not the one discussed in this thread) is a possible incompatibility between the freetype2 versions from X11 and from Fink. The best solution would probably be to eliminate the freetype packages from Fink completely.
-- Martin
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users