On my ultra10 an emerge kde stopped compiling with the following errors: fast creating pics/wallpapers/Makefile config.pl: fast created 431 file(s). config.status: creating config.h config.status: executing depfiles commands You're missing libsmbclient from samba 3.0 KDE will use a wrapper for smbclient without it, consider installing it. Look at kioslave/smb/libsmbclient-HOWTO.txt You're missing OSF/Motif or LessTif. KDE won't be able to use Netscape plugins without it, so you should consider installing it. Have a look at http://www.lesstif.org, or find a binary package for your platform. cd . && rm -f configure cd . && /bin/sh /var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/admin/missing --run automake-1.8 --foreign cd . && make -f admin/Makefile.common configure make[1]: Entering directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2' String found where operator expected at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4"" (Do you need to predeclare error?) syntax error at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4"" BEGIN not safe after errors--compilation aborted at /usr/bin/autom4te-2.57 line 453. make[1]: *** [configure] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2' make: *** [configure] Error 2 make: *** Waiting for unfinished jobs.... cd . && perl admin/am_edit cd . && perl admin/am_edit Makefile.in make: *** Waiting for unfinished jobs.... !!! ERROR: kde-base/kdebase-3.2.2 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make sys-devel/m4-1.4-r1 is installed. And for further debugging here my emerge info: Portage 2.0.50-r8 (default-sparc64-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.4.26-sparc-r1) ================================================================= System uname: 2.4.26-sparc-r1 sparc64 sun4u Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache emergemail sandbox userpriv usersandbox" GENTOO_MIRRORS="http://galadriel.wh-og.hsnr.de/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage/" USE="X aalib acl apache2 avi berkdb crypt fbcon gdbm gif gnome gpm gtk2 imap imlib ipv6 javascript jpeg kde libwww maildir mbox mozcalendar mozilla moznoirc mpeg mpeg4 ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline samba sdl slang sparc spell ssl tcpd truetype unicode xml2 xosd xv zlib"
what version of m4? I think that if you re-emerge m4, and perhaps automake/autoconf, this will go away.
Nope, that didn't helped. Let's see, if an upgrade of automake/autoconf and m4 helps: Calculating dependencies ...done! [ebuild U ] sys-devel/autoconf-2.59-r4 [2.58-r1] 903 kB [ebuild U ] sys-devel/automake-1.8.5 [1.8.3] 647 kB [ebuild R ] sys-devel/m4-1.4-r1 +nls 0 kB
The upgrade wasn't useful. Still the same error about m4. Maybe it's KDE-related. So I will test kde-3.2.3.
Well, it seems to be an error in KDE's configure. kdebase-3.2.3 does not show this error. Neither with current stable autoconf/automake nor with the newer versions. Either kde-3.2.2 will be fixed or the sparc-team should make kde-3.2.3 stable.
Closing, as KDE-3.2.3 is stable on sparc.