Summary: | gnome-system-monitor-2.20.1 fails to compile with IconLookupFlags not declared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark D. <exien.ow> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | Martin.vGagern, william |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
compile log file
emerge --info output |
Description
Mark D.
2007-11-23 05:35:45 UTC
Created attachment 136733 [details]
compile log file
Created attachment 136734 [details]
emerge --info output
Which version of gtk+ do you have installed? 2.12.1-r2 for me Having the same issue on AMD64 as well. x11-libs/gtk+-2.12.1-r2 gtk+-2.12.1-r2 Oh wow. I completely missed the C++ part... What version of gtkmm do you guys have? gtkmm-2.2.12 and gtkmm-2.8.3 gtkmm-2.8.3 for me. I upgraded gtkmm to 2.12.1 and gnome-system-monitor emerged successfully. That worked for me too. yes, same story. Thanks for the tip ! This failure is strange because iirc gtkmm-2.8 was in the 2.4 slot and here is the relevant documentation: http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__gtkmmEnums.html#g6d0c2193613cfb97ab313746a5bacaa2 http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1IconTheme.html I've got the same issue. gtkmm versions installed: gladstone wskellenger # equery list gtkmm [ Searching for package 'gtkmm' in all categories among: ] * installed packages [I--] [ ] dev-cpp/gtkmm-1.2.9-r2 (1.2) [I--] [M ] dev-cpp/gtkmm-2.2.8 (2) [I--] [M ] dev-cpp/gtkmm-2.8.1 (2.4) Forum post suggests icontheme.h is the culprit: http://forums.gentoo.org/viewtopic-p-4606091.html?sid=505e824d0b971c747797334da759170c I have this file, but in a different directory: gladstone gtkmm-2.4 # locate icontheme.h /usr/kde/3.4/include/kicontheme.h /usr/kde/3.5/include/kicontheme.h /usr/include/gtkmm-2.4/gtkmm/icontheme.h /usr/include/gtk-2.0/gtk/gtkicontheme.h We can see that it's expected in a different location from the last compile error: if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPROCMAN_DATADIR=\""/usr/share/procman/"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgtop-2.0 -I/usr/include/libwnck-1.0 -I/usr/include/gtk-2.0 -I/usr/include/startup-notification-1.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/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml2 -Wall -std=c++98 -O3 -march=pentium3 -fprefetch-loop-arrays -fomit-frame-pointer -pipe -MT iconthemewrapper.o -MD -MP -MF ".deps/iconthemewrapper.Tpo" -c -o iconthemewrapper.o iconthemewrapper.cpp; \ then mv -f ".deps/iconthemewrapper.Tpo" ".deps/iconthemewrapper.Po"; else rm -f ".deps/iconthemewrapper.Tpo"; exit 1; fi iconthemewrapper.h:13: error: 'Gtk::IconLookupFlags' has not been declared iconthemewrapper.cpp:10: error: 'Gtk::IconLookupFlags' has not been declared iconthemewrapper.cpp: In member function 'Glib::RefPtr<Gdk::Pixbuf> procman::IconThemeWrapper::load_icon(const Glib::ustring&, int, int) const': From above it looks like it wants to find gtkmm here: -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include Ping all, Is this still an issue with newer versions of gtkmm and g-s-m 2.20.2 ? If so, don't hesitate to reopen that bug with a full build.log. Thanks No longer an issue for gnome-extra/gnome-system-monitor-2.20.2 Still an issue with gnome-system-monitor-2.20.2 and gtkmm-2.8.3 here. Yes, I know that gtkmm version isn't in portage any longer. Still, maybe a dependency in g-s-m could have helped portage to get the order right in a world update. what happens if you reemerge gtkmm (even the version you have) ? (In reply to comment #18) > what happens if you reemerge gtkmm (even the version you have) ? I can't remerge gtkmm-2.8.3 as it is no longer in portage. After upgrading to 2.12.1 g-s-m emerged all right. |