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
prefix=/home/raymond/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

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
--with-gdktarget=directfb
throws the following error message:

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

PKG-CONFIG returns the following:
$ pkg-config pango --cflags
-I/home/raymond/usr/local/include/pango-1.0
-I/home/raymond/usr/local/include/glib-2.0
-I/home/raymond/usr/local/lib/glib-2.0/include

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


What about:

$ pkg-config pangocairo --cflags


behdad

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

Thanks

Raymond Pau
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
--
behdad
http://behdad.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]