[maemo-developers] [maemo-developers] libgtkmm installation fails

From: Vladislav Grinchenko vladislav.grinchenko at comtechmobile.com
Date: Tue Aug 1 19:04:35 EEST 2006
More details,

> > Various stuff is happening at the moment with the gtkmm packages,
> > including two of us uploading packages at once, and us not being sure
> > which ones were actually used. We'll work it out in the next few days.
> Thanks. I want to try new IT2006, but without gtkmm it is useless to me.
> I was trying to build libgtkmm-2.4 myself at first by downloading
> libgtkmm-2.4 (2.4.10-1) sources and applying Debian patch 
> (gtkmm2.4_2.4.10-1.diff) from
> http://packages.debian.org/stable/libs/libgtkmm-2.4-1.
> But compilation fails:
>  g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"pangomm\" -I../../pango
> -I/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/pango -I../../pango
> -I/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/pango -I../../atk
> -I/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/atk -I../../gdk
> -I/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/gdk -I../../gtk
> -I/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/gtk -I/usr/include/glibmm-2.4
> -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc
> ++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -Wall -g -O2 -MT fontset.lo -MD -MP
> -MF .deps/fontset.Tpo -c fontset.cc  -fPIC -DPIC -o .libs/fontset.o
> fontset.cc: In function `gboolean
> <unnamed>::fontset_foreach_callback(PangoFontset*, PangoFont*, void*)':
> fontset.cc:41: error: `exception_handlers_invoke' is not a member of
> `Glib'
> make[5]: *** [fontset.lo] Error 1
> make[5]: Leaving directory
> `/home/vlg/Gtkmm-2.4/gtkmm-2.4.10/pango/pangomm'

This error seems to be the result of fontset.cc calling
Glib::exception_handlers_invoke() which is conditionally compiled by
libglibmm-2.4 if GLIBMM_EXCEPTIONS_ENABLED is set
(see /usr/include/glibmm-2.4/glibmm/exceptionhandler.h).

Sounds like libglibmm-2.4 I installed with apt-get from maemo repo
(libglibmm-2.4-1c2a) has been built with exceptions disabled (???).

hope this helps,

More information about the maemo-developers mailing list