Trying to install Kword I obtain this error: /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kotext -I../../../lib/kotext -I../../../lib/koscript -I../../../lib/koscript -I../../../kspread -I../../../kword -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kwmailmerge_kspread_config.lo kwmailmerge_kspread_config.cpp ../../../kspread/kspread_cell.h:599: error: extra qualification 'KSpreadCell::' on member 'ultimateObscuringCell' ../../../kspread/kspread_cell.h:599: error: extra qualification 'KSpreadCell::' on member 'ultimateObscuringCell' make[4]: *** [kwmailmerge_kspread_config.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [kwmailmerge_kspread.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/kword/mailmerge/kspread' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/kword/mailmerge' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/kword' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2' make: *** [all] Error 2 !!! ERROR: app-office/kword-1.4.2-r6 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called kde-meta_src_compile kde-meta.eclass, line 414: Called kde_src_compile kde.eclass, line 164: Called kde_src_compile 'all' kde.eclass, line 331: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 327: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. -------------------- # emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.5 Last Sync: Wed, 27 Sep 2006 06:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LINGUAS="it" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aac acpi alsa arts berkdb bitmap-fonts cli crypt cups dbus dlloader dri dvdr elibc_glibc fortran gdbm hal input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kernel_linux libg++ linguas_it mp3 ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python qt3 readline reflection session spl sse ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 146409 ***
Ehm, this is a common and very easy to fix error compiling with gcc-4.x , is just needed to remove the 'KSpreadCell::' in file kspread_cell.h , line 599.