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

Re: need help with an xpdf bug



On Tue, Jan 08, 2002 at 02:08:29PM +0000, Andrew Suffield wrote:
> OK, this is probably a bug in libfreetype6-dev.
> 
> The problem is that libfreetype6-dev puts headers in
> /usr/include/freetype2/freetype when they were intended to go in
> /usr/include/freetype. The headers use #include <freetype/foo> to get
> each other. libttf-dev includes /usr/include/freetype/ stuff as well,
> but presumably at a different version, and gcc is finding the wrong
> one.

[...]

> Eliminating -I/usr/include from this fixes the problem at this
> level. I'm not sure how to modify the build system to handle this
> offhand, and neither am I sure that it is desireable.

Alternatively, Build-Conflicts: libttf-dev makes the problem go
away. That seems like the best solution (?).


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: