After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 538882 - Unable to compile gtkmm-2.8.12 on Slackware 12.1
Unable to compile gtkmm-2.8.12 on Slackware 12.1
Status: RESOLVED NOTABUG
Product: gtkmm
Classification: Bindings
Component: build
2.8.x
Other All
: Normal critical
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-06-18 01:36 UTC by Eduardo Bacchi Kienetz
Modified: 2008-08-04 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eduardo Bacchi Kienetz 2008-06-18 01:36:00 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:
Comment 1 Murray Cumming 2008-06-19 05:59:02 UTC
What version of GTK+ are you using?
Comment 2 Eduardo Bacchi Kienetz 2008-06-20 02:47:17 UTC
(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.
Comment 3 Murray Cumming 2008-06-20 05:59:25 UTC
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+.
Comment 4 Murray Cumming 2008-08-04 10:59:14 UTC
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.