[cairo] What is "pangocairo"?

Carl Worth cworth at cworth.org
Thu Oct 19 12:20:37 PDT 2006


On Thu, 19 Oct 2006 06:51:43 -0500, wrote:
> I'm having trouble building GTK 2.10.6 and have gotten no response so far
> from the GTK list.  It's stumbling while trying to check for pango and
> executes this pkg-config line:
>
>     pkg-config --exists pango pangocairo
>
> I have Pango (1.14.7) and Cairo (1.2.4) installed, but there are no
> pangocairo.pc files in either installation.  Where do I find pangocairo?

You should get pangocairo by nature of pango finding cairo when pango
is compiled. So the configure output of pango is probably giving you
something like:

	Checking for cairo... NO

And the fix is to make sure that when you configure pango that your
PKG_CONFIG_PATH variable points to the directory in which the cairo.pc
file was installed. Something like:

	PKG_CONFIG_PATH=$prefix/lib/pkgconfig

Where cairo was configured with --prefix=$prefix.

I have seen a couple of other people struggling with similar "missing
pangocairo" problems recently when trying to build GTK+. So one option
for the pango people to consider would be to make missing cairo
without --disable-cairo (or whatever) be fatal.

-Carl

PS. By the way, the answer to this problem from the GTK+ camp is
likely to be that one shouldn't try to compile GTK+ and its
dependencies by hand anyway, and people should use something like
jhbuild instead. Personally, I don't find it that hard to build GTK+
manually, but you might look into using jhbuild as one option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061019/ef7c766c/attachment.pgp


More information about the cairo mailing list