[gtk-osx-users] Pango fails on cairo-gobject



Compiling Pango fails with following error:
Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found
In file included from <stdin>:4:
/Users/timo/gtk/source/pango-1.32.1/pango/pango-impl-utils.h:26:18: error: glib.h: No such file or directory
/Users/timo/gtk/source/pango-1.32.1/pango/pango-impl-utils.h:27:25: error: glib-object.h: No such file or directory
Error while processing the source.
make[4]: *** [Pango-1.0.gir] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I can indeed not find cairo-gobject, so searching a bit led me to this:
bash-3.2$ cd gtk/source/cairo-1.12.6/util/cairo-gobject/
bash-3.2$ make
  CC     libcairo_gobject_la-cairo-gobject-enums.lo
In file included from cairo-gobject-enums.c:8:
cairo-gobject.h:183:3: error: #error Cairo was not compiled with support for GObject
# Snipped missing symbols etc...


config.log contains the following:
configure:33503: checking for cairo's gobject functions feature
configure:33521: checking for GOBJECT
configure:33528: $PKG_CONFIG --exists --print-errors "$gobject_REQUIRES"
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure:33531: $? = 1
configure:33544: $PKG_CONFIG --exists --print-errors "$gobject_REQUIRES"
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure:33547: $? = 1
No package 'gobject-2.0' found
No package 'glib-2.0' found
configure:33574: result: no
configure:33589: checking whether cairo's gobject functions feature could be enabled
configure:33591: result: no (requires gobject-2.0 glib-2.0 http://download.gnome.org/pub/GNOME/sources/glib/)


I'm a bit lost here. Should I pass some extra arguments to Cairo? I checked the paths in config.log and made sure gobject-2.0.pc and glib-2.0.pc exist.

Timo


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