all ft2 programs will use
/usr/X11R6/include/freetype2/ft2build.h via <freetype2/ft2build.h>
this file has this
#ifndef __FT2_BUILD_GENERIC_H__ #define __FT2_BUILD_GENERIC_H__
#include <freetype/config/ftheader.h>
#endif /* __FT2_BUILD_GENERIC_H__ */
and in ftheader.h it includes a bound of <freetype/foo> headers
some of which are in freetype1
so if -I/sw/include is before -I/usr/X11R6/include/frretype2, the wrong ones get used...I just ran into this in ffmpeg.
the fix I used is to make sure the freetype2 includes come first, I think this is an error in freetype2 files but I'm not sure, either way I believe that we will encounter this again in fink, and just thought it should be doc'd someplace as it wasn't easy to track down.
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel