| View previous topic :: View next topic |
| Author |
Message |
Tuxenstein Apprentice

Joined: 28 May 2005 Posts: 155
|
Posted: Tue Dec 11, 2007 7:24 am Post subject: gnome-system-monitor not building (SOLVED) |
|
|
I've tried a few times now to build this package and it keeps going back to the same error message. I've tried searching the forum and couldn't seem to find anything (although, it's possible that it may be around somewhere, but I may have just missed it), so I'm hoping someone here can help me out with this.
The error message I've been getting in relation to gnome-system-monitor has read as follows:
| Quote: | In file included from iconthemewrapper.cpp:5:
iconthemewrapper.h:13: error: `Gtk::IconLookupFlags' has not been declared
iconthemewrapper.h:13: error: ISO C++ forbids declaration of `flags' with no type
iconthemewrapper.cpp:10: error: `Gtk::IconLookupFlags' has not been declared
iconthemewrapper.cpp:11: error: ISO C++ forbids declaration of `flags' with no type
iconthemewrapper.cpp: In member function `Glib::RefPtr<Gdk::Pixbuf> procman::IconThemeWrapper::load_icon(const Glib::ustring&, int, int) const':
iconthemewrapper.cpp:14: error: `Gtk::IconTheme' has not been declared
iconthemewrapper.cpp:14: error: `get_default' was not declared in this scope
iconthemewrapper.cpp:14: warning: unused variable 'get_default'
iconthemewrapper.cpp:16: error: `Gtk::IconThemeError' has not been declared
iconthemewrapper.cpp:16: error: invalid catch parameter
iconthemewrapper.cpp:18: error: `error' was not declared in this scope
iconthemewrapper.cpp:18: error: `Gtk::IconThemeError' has not been declared
iconthemewrapper.cpp:18: error: `ICON_THEME_NOT_FOUND' was not declared in this scope
iconthemewrapper.cpp:18: warning: unused variable 'error'
iconthemewrapper.cpp:18: warning: unused variable 'ICON_THEME_NOT_FOUND'
make[2]: *** [iconthemewrapper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-ar cru .libs/libbacon.a .libs/bacon-message-connection.o
i686-pc-linux-gnu-ranlib .libs/libbacon.a
creating libbacon.la
(cd .libs && rm -f libbacon.la && ln -s ../libbacon.la libbacon.la)
Merging translations into gnome-system-monitor.schemas.
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-system-monitor-2.20.1/work/gnome-system-monitor-2.20.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-system-monitor-2.20.1/work/gnome-system-monitor-2.20.1'
make: *** [all] Error 2 |
My emerge --info output is this:
| Quote: | Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 AMD Athlon(tm) XP 2200+
Timestamp of tree: Sat, 08 Dec 2007 22:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Any and all help, as always, will be appreciated!
Last edited by Tuxenstein on Tue Dec 11, 2007 9:58 pm; edited 1 time in total |
|
| Back to top |
|
 |
Doorsdown n00b


Joined: 21 Mar 2005 Posts: 65 Location: Boston, MA
|
Posted: Tue Dec 11, 2007 8:40 am Post subject: |
|
|
Try here _________________ AMD64 Phenom 9500 x4
Mark Threads [Solved] when they are solved |
|
| Back to top |
|
 |
Tuxenstein Apprentice

Joined: 28 May 2005 Posts: 155
|
Posted: Tue Dec 11, 2007 7:45 pm Post subject: |
|
|
Thanks, I did look both at that thread as well as the thread that's linked to in that thread and nothing that was listed appears to have helped and the system monitor tool that's in Gnome (that's still installed) has been crashing or else not loading (possibly as a result of something else that was updated earlier), so I'm hoping someone knows of another solution to getting the update to emerge properly.  |
|
| Back to top |
|
 |
mbell Tux's lil' helper


Joined: 18 Dec 2004 Posts: 93
|
Posted: Tue Dec 11, 2007 7:54 pm Post subject: |
|
|
It looks like gtkmm's icontheme.h is either missing or not being included, as that's where Gtk::IconTheme should be declared. See if it's in /usr/include/gtkmm-<your version>/gtkmm/icontheme.h. It also might not be a bad idea to remerge gtkmm in case that's somehow causing problems. _________________ Google is your friend.
Google site:forums.gentoo.org is also your friend. |
|
| Back to top |
|
 |
Tuxenstein Apprentice

Joined: 28 May 2005 Posts: 155
|
Posted: Tue Dec 11, 2007 9:57 pm Post subject: |
|
|
I checked that directory and for some reason, icontheme.h wasn't there, so I tried re-emerging gtkmm and that seemed to do the trick as the system monitor tool in Gnome was able to build correctly and now works, so thanks!  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|