I recently went through an upgrade to gcc 4.1.1 on a Mac G4. Everything
recompiled OK except fluxbox 0.9.14-r2. In order to get it I had to choose an
unstable version (I went with 1.0_rc1, which compiled fine). Perhaps this is
nit-picking, but since I had to choose an unstable package even though I have a
stable package system otherwise, I thought it was worth noting. I suspect
bumping fluxbox up to a version that compiles with the new modular X would
probably be an easy fix. A fellow on the forums,
<http://forums.gentoo.org/viewtopic-t-478127-highlight-fluxbox.html> claims
fluxbox 0.9.15 worked for him.
Below are the details on my system. Note I am using (the stable?) newest
profile for a G4. Thanks for all the great Gentoo work!
# emerge --info
Portage 2.1-r1 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3,
2.6.16-gentoo-r7 ppc)
=================================================================
System uname: 2.6.16-gentoo-r7 ppc 7400, altivec supported
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
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.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -pipe
-fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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/s
hutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http:
//mirror.pudas.net/gentoo"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 arts berkdb bitmap-fonts bonobo cdr cli crypt
cups dlloader dri dvd eds emacs emboss encode esd fam fortran gcj
gdbm gif gnome gpm gstreamer gtk gtkhtml ipv6 isdnlog jpeg kde ldap libg++
libwww mad mikmod mozilla mp3 mpeg ncurses nls nptl nptlonly ogg op
engl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline
reflection ruby sdl session spell spl ssl tcpd truetype truetype-fonts
type1-fonts udev unicode vorbis xml xorg xv zlib elibc_glibc
input_devices_keyboard input_devices_mouse kernel_linux userland_GNU
video_cards_r
adeon video_cards_fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
# cat /proc/cpuinfo
processor : 0
cpu : 7400, altivec supported
temperature : 27-29 C (uncalibrated)
clock : 400.000000MHz
revision : 2.9 (pvr 000c 0209)
bogomips : 49.66
timebase : 24907667
machine : PowerMac3,3
motherboard : PowerMac3,3 MacRISC2 MacRISC Power Macintosh
detected as : 65 (PowerMac G4 AGP Graphics)
pmac flags : 00000014
L2 cache : 1024K unified
pmac-generation : NewWorld
Top most build error with the problematic fluxbox:
make[4]: Entering directory
`/var/tmp/portage/fluxbox-0.9.14-r2/work/fluxbox-0.9.14/src/FbTk'
[snip]
make[4]: Leaving directory
`/var/tmp/portage/fluxbox-0.9.14-r2/work/fluxbox-0.9.14/src/FbTk'
make[4]: Entering directory
`/var/tmp/portage/fluxbox-0.9.14-r2/work/fluxbox-0.9.14/src'
[snip]
if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./FbTk -O2
-mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -pipe -fomit-frame-pointer
-DSHAPE -I/usr/inclu
de/freetype2 -MT ScreenResources.o -MD -MP -MF ".deps/ScreenResources.Tpo" -c
-o ScreenResources.o ScreenResources.cc; \
then mv -f ".deps/ScreenResources.Tpo" ".deps/ScreenResources.Po"; else rm -f
".deps/ScreenResources.Tpo"; exit 1; fi
ScreenResources.cc:33: error: specialization of 'void
FbTk::Resource<T>::setDefaultValue() [with T = BScreen::PlacementPolicy]' in
different namespace
ScreenResources.cc:33: error: from definition of 'void
FbTk::Resource<T>::setDefaultValue() [with T = BScreen::PlacementPolicy]'
[a bunch of these errors]
make[4]: *** [ScreenResources.o] Error 1