On Tue, 15 Mar 2005, Martin Costabel wrote:
From: Martin Costabel <[EMAIL PROTECTED]> To: Alexander K. Hansen <[EMAIL PROTECTED]> Cc: Fink Devel <[email protected]> Date: Tue, 15 Mar 2005 22:00:13 +0100 Subject: Re: [Fink-users] Another xpdf 3.00-14 compile error
Alexander K. Hansen wrote: []In file included from _imagingft.c:18:
/usr/X11R6/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
Sure. This is the old error we had discussed a long time ago. It kills code that uses the older
#include <freetype/freetype.h>
instead of the new
#include <ft2build.h> #include FT_FREETYPE_H
It can be fixed by disactivating the artificial error code in /usr/X11R6/include/freetype2/freetype/freetype.h.
But independently of this, the file ft2build.h will not be found by Makefiles made by older configure scripts, because it moved from include/freetype2/ in older versions of freetype2 (for example the one in Apple's X11) to include/ in newer versions. This problem was the original subject in this thread.
I added Martin's hack symlink for ft2build.h to my Xorg (which already has the top of freetype.h commented out to prevent that error). xpdf-3.00-14 now builds everything without error. BUT, it still doesn't have its default fonts (as reported in other threads), so I don't recommend using it yet, or, at least be prepared to downgrade to an earlier version if you do try it (you might be lucky and only view pdfs that don't need default fonts...)
cheers, -- Viv ------------------------------------------------ Dr Viv Kendon [EMAIL PROTECTED] Quantum Information tel: 0113 343 3897 Physics & Astronomy University of Leeds
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
