Bug 17165 - Can't build cairomm due to error: ‘pango_cairo_font_map_set_default’ was not declared in this scope
Summary: Can't build cairomm due to error: ‘pango_cairo_font_map_set_default’ was not ...
Alias: None
Product: cairomm
Classification: Unclassified
Component: Build (show other bugs)
Version: CVS HEAD
Hardware: Other All
: medium normal
Assignee: Murray Cumming
QA Contact:
Depends on:
Reported: 2008-08-15 18:47 UTC by Tobias Mueller
Modified: 2008-08-19 13:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Tobias Mueller 2008-08-15 18:47:20 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.
Comment 1 Murray Cumming 2008-08-16 03:50:45 UTC
You seem to have been building pangomm rather than cairomm. Could you file a bug in bugzilla.gnome.org for that, please.
Comment 2 Tobias Mueller 2008-08-19 13:46:06 UTC
Oh, you're right. This error is not related to cairomm but to pangomm. I'm sorry for that, I filed bug 548528 (http://bugzilla.gnome.org/show_bug.cgi?id=548528) to GNOMEs Bugzilla.

I'm closing this as NOTOURBUG as it seems the most appropriate to me.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.