Re: *** Pango not found. Pango built with Cairo support is required

$ pkg-config pangocairo --cflags
Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangocairo' found

Ok, pkg-config is complaining that pangocairo is not found; but
pangocairo.pc can be found in pango-1.18.0.
configure did create the file but did not install it with "make install". Is
there any other "installation" target needed?

Content of pangocairo.pc as follows.

$ cat pangocairo.pc

Name: Pango Cairo
Description: Cairo rendering support for Pango
Version: 1.18.0
Requires: pango cairo
Libs: -L${libdir} -lpangocairo-1.0 -L/home/raymond/usr/local/lib -lfontconfig
  -L/home/raymond/usr/local/lib -lfreetype -lz
Cflags: -I${includedir}/pango-1.0

Raymond Pau

----- Original Message -----
From: "Behdad Esfahbod" <behdad behdad org>
To: <raymond_pau innomedia com sg>
Cc: <gtk-list gnome org>
Sent: Thursday, August 23, 2007 12:09 AM
Subject: Re: *** Pango not found. Pango built with Cairo support is required

On Wed, 2007-08-22 at 14:29 +0800, Raymond Pau wrote:
Dear All,

I'm trying to compile GTK+-2.10.14 with directfb support.
I compiled the libraries in the following order:
1. glib-2.14.0
2. libpng-1.2.19
3. jpeg-6b
4. freetype-2.3.5
5. libxml2-2.6.29
6. fontconfig-2.4.2
7. atk-1.19.6
8. cairo-1.4.10
9. pango-1.17.3
10. gtk+-2.10.14

./configure --prefix=$PREFIX --disable-shared --enable-static
throws the following error message:

checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See for Pango information.

PKG-CONFIG returns the following:
$ pkg-config pango --cflags

$ pkg-config cairo --cflags
-D_REENTRANT -I/home/raymond/usr/local/include/cairo

What about:

$ pkg-config pangocairo --cflags


Any reason why Gtk+ is complaining it cannot find Pango with Cairo


Raymond Pau
gtk-list mailing list
gtk-list gnome org

"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
       -- Benjamin Franklin, 1759

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