GNOME Bugzilla – Bug 538882
Unable to compile gtkmm-2.8.12 on Slackware 12.1
Last modified: 2008-08-04 10:59:14 UTC
Steps to reproduce: 1. ./configure ; make Stack trace: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT toolbar.lo -MD -MP -MF .deps/toolbar.Tpo -c toolbar.cc -fPIC -DPIC -o .libs/toolbar.o toolbar.cc: In member function 'Gtk::Tooltips* Gtk::Toolbar::get_tooltips_object() const': toolbar.cc:560: error: 'const struct _GtkToolbar' has no member named 'tooltips' make[1]: ** [toolbar.lo] Erro 1 make[1]: Leaving directory `/home/myuser/gtkmm-2.8.12/gtk/gtkmm' make: ** [all-recursive] Erro 1 Other information:
What version of GTK+ are you using?
(In reply to comment #1) > What version of GTK+ are you using? # ls /var/log/packages/gtk+* # gtk+-1.2.10-i486-4 gtk+2-2.12.9-i486-1 These are the gtk+* I have installed (default from slackware), now, which one gtkmm is getting to use I don't know. How could I find out? Anyway... sorry, I didn't see there are newer versions. I'll try compiling 2.10.11 to check if the error persists and keep moving to newer ones if it still happens.
You have GTK+ 2.12, so I suggest that you use gtkmm 2.12, not GTK+ 2.8. This error is probably due to new deprecations in GTK+.
Closing, because this is not a bug. GTK+ does not claim to keep total API compatibility, though it keeps ABI compatibility. I agree that this is not very good. Again, you should use a newer version of gtkmm to solve this problem.