Hi to everyone,
I'm using Gentoo 2004.1 for AMD64 platform, and I'm trying
to install KDE from source without luck.
Here's my story.
Time has passed since I last tried to emerge kdebase 3.2.1 without success.
I thought that waiting for the next release could have solved the issue, as
well as posting a bug on bugs.gentoo.org.
In the meanwhile, I've searched the internet long and wide for hints on
how to solve the problem.
Which problem?
Ah yes:
emerge -v kdebase
starts compiling kdebase and it halts at some point with an error.
Here follows a biref summary of the things I have tried to sort the problem:
1. Commenting MAKEOPTS="-j2"
2. Using less "aggressive" CFLAGS="-O2 -pipe" in place of "-O2 -pipe -fomit-frame-pointer -fPIC"
3. Emerging java-config 1.2.6
4. Issueing a: DO_NOT_COMPILE="doc" emerge -v kdebase
5. Modifying cvs.sh at line 302 (or was it 320?)
6. Reinstalling the whole thing from scratch!!
7. Every hint and/or advice you might find on these forums
I must add that I have double checked my system's RAM with memtest
and found _no problem_.
More, kdebase is, so far, the only package that I'm not able to compile.
I've compiled firefox 0.8, gnome 2.6, tetex and other beasts without a glitch.
Here follows one of the error (very similar each one to another) I see
during compile:
make[3]: Entering directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input'
Making all in xcursor
make[4]: Entering directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input/xcursor'
/usr/qt/3/bin/moc ./themepage.h -o themepage.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -fomit-frame-pointer -fPIC -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o previewwidget.lo previewwidget.cpp
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -fomit-frame-pointer -fPIC -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o themepage.lo themepage.cpp
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -fomit-frame-pointer -fPIC -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o libthemepage.la themepage.lo previewwidget.lo
make[4]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input/xcursor'
Making all in pics
make[4]: Entering directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input/pics'
Makefile:559: *** unterminated variable reference. Stop.
make[4]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input/pics'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2'
make: *** [all] Error 2
!!! ERROR: kde-base/kdebase-3.2.2 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
-------------------------------------------------------------------------------------
And this is the output of "emerge --info"
Portage 2.0.50-r8 (default-amd64-2004.1, gcc-3.3.3, glibc-2.3.3_pre20040529-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer -fPIC"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.iasi.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 apm arts avi berkdb bonobo cdr crypt cups doc dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww linguas_it mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell ssl tcltk tcpd tetex tiff truetype xml2 xmms xv zlib"
-------------------------------------------------------------------------------------
The errors I get are not always at the same point, and yes, _I did
a memtest check which showed no problem at all on the RAM side_.
Please note also that:
kdelibs 3.2.2 compiles flawlessly and so does arts and qt!
I have no idea to what to touch to solve this frustrating problem.
Please, please, please, Help me.
Regards,
Carmine