GNOME Bugzilla – Bug 548528
Can't build pangomm due to error: ‘pango_cairo_font_map_set_default’ was not declared in this scope
Last modified: 2008-08-20 08:51:15 UTC
I tried to jhbuild cairomm and it failed badly with the following message: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"pangomm\" -I../../pango -I../../pango -I../../pango -I../../pango -I/opt/gnome2/include/glibmm-2.4 -I/opt/gnome2/lib64/glibmm-2.4/include -I/opt/gnome2/include/sigc++-2.0 -I/opt/gnome2/lib64/sigc++-2.0/include -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/cairomm-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pixman-1 -I/opt/gnome2/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -MT coverage.lo -MD -MP -MF .deps/coverage.Tpo -c coverage.cc -fPIC -DPIC -o .libs/coverage.o cairofontmap.cc: In member function ‘void Pango::CairoFontMap::set_default()’: cairofontmap.cc:145: error: ‘pango_cairo_font_map_set_default’ was not declared in this scope make[5]: *** [cairofontmap.lo] Error 1 muelli@xbox:~/svn/gnome/pangomm$ head config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by pangomm configure 2.13.7, which was generated by GNU Autoconf 2.60. Invocation command line was $ ./configure --enable-maintainer-mode --prefix /opt/gnome2 --libdir ${exec_prefix}/lib64 --disable-static --disable-scrollkeeper --disable-gtk-doc Please let me know if I can provide more information.
I've done a complete rebuild of pangomm and all its dependencies, but didn't see this problem. Did you really rebuild a recent pango in jhbuild too?
Hm. You're right. I've rebuild pango today and now pangomm builds fine. I'm closing this is NOTABUG then.