I am running under KDE 3.5 and while doing an emerge of karbon the build failed. It seems to be looking in .../usr/kde/3.4 when it should be looking in 3.5 Here is the emerge --info: Portage 2.1_pre5-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-rc2 x86_64) ================================================================= System uname: 2.6.16-rc2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.4-r1, 2.4.2-r1 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts crypt cups curlwrappers doc dv dvd dvdr dvdread elibc_glibc emboss encode firefox font-server foomaticdb gif gpm gstreamer gtk gtk2 hal imlib ipv6 jp2 jpeg kde kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd texet tiff truetype-fonts type1-fonts unicode usb userland_GNU userlocales xpm xrandr xv zeroconf zlib" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS Here is the "emerge --oneshot =app-office/karbon-1.4.2" results... /bin/sh ../libtool --silent --mode=compile --tag=CXX x86_64-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/kopainter -I../lib/kopainter -I. -I./commands -I./core -I./dialogs -I./dockers -I./render -I./tools -I./visitors -I./widgets -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 -march=k8 -pipe -O2 -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 karbon_part_base.lo `test -f 'karbon_part_base.cc' || echo './'`karbon_part_base.cc /bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ -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 -march=k8 -pipe -O2 -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 -o libkarbonbase.la -rpath /usr/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -version-info 2:0:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined karbon_view_base.lo karbon_part_base.lo ../lib/kofficeui/libkofficeui.la grep: /usr/kde/3.4/lib64/libkdeprint.la: No such file or directory /bin/sed: can't read /usr/kde/3.4/lib64/libkdeprint.la: No such file or directory libtool: link: `/usr/kde/3.4/lib64/libkdeprint.la' is not a valid libtool archive make[3]: *** [libkarbonbase.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/karbon-1.4.2/work/karbon-1.4.2/karbon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/karbon-1.4.2/work/karbon-1.4.2/karbon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/karbon-1.4.2/work/karbon-1.4.2' make: *** [all] Error 2 !!! ERROR: app-office/karbon-1.4.2 failed. Call stack: ebuild.sh, line 1928: Called dyn_compile ebuild.sh, line 966: Called src_compile ebuild.sh, line 1643: Called kde-meta_src_compile kde-meta.eclass, line 400: Called kde_src_compile kde.eclass, line 111: Called kde_src_compile 'compile' kde.eclass, line 228: Called kde_src_compile 'all' 'myconf' 'configure' !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant.
Try rebuilding koffice-libs.
That did it! Thanks a lot....
This fix did it...