[cairo] Bug in freetype2 pkg-config requirement

Owen Taylor otaylor at redhat.com
Mon Aug 29 07:37:43 PDT 2005


On Mon, 2005-08-29 at 10:06 -0400, Igor Foox wrote:
> On Sun, 2005-08-28 at 10:55 -0400, Owen Taylor wrote:
> > On Fri, 2005-08-26 at 19:32 -0400, Igor Foox wrote:
> > > Hi there,
> > > 
> > > I've built cairo-1.0.0, and then tried to build gtk-2.8.0 on top of it.
> > > In the process I discovered what looks like a bug in the cairo.pc.in
> > > file. The way it is now, the freetype2 CFLAGS dependency does not get
> > > generated. I've attached a fix that I made locally to address the
> > > problem.
> > 
> > Can you be more specific about the problem you ran into building GTK+?
> 
> Actually the problem was with pango. Unfortunately I don't have the
> error trace available. But essentially the build couldn't find
> ft2build.h, which was needed by the cairo backend. However since cairo
> didn't indicate that it's CFlags depended on freetype2 then some gcc
> line in the pango make file didn't have the appropriate -I for freefont.

Without more information, there's not much I can do.

Pango has checks to find the cflags for FreeType; it's hard to guess
what's not working for you.

Regards,
						Owen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050829/062684d8/attachment.pgp


More information about the cairo mailing list