I think this has something to do with either java or qt support in php. If the use flags don't work with a certain ebuild, TAKE THEM OUT! Reproducible: Always Steps to Reproduce: 1.export ACCEPT_KEYWORDS="~x86" 2.emerge -u php Actual Results: checking whether the C++ compiler (g++ -O2 -mcpu=i686 -pipe -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/classic -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/classic -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/server -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/server -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads -L/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads -Wl,-rpath,/opt/blackdown-jdk-1.3.1/jre/lib/i386 -L/opt/blackdown-jdk-1.3.1/jre/lib/i386 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. !!! ERROR: dev-php/php-4.3.1-r2 failed. !!! Function econf, Line 303, Exitcode 1 !!! econf failed Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r4 i686 AMD Duron(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow arts artswrappersuid avi cdr crypt cups dga ethereal fbcon flash freedts gif gphoto2 gpm ipv6 java jikes jpeg kde lcms mikmod mmx mpeg mysql ncurses nls opengl oggvorbis oss pdflib png quicktime qt samba sasl sdl spell sse ssl tiff truetype usb wmf X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -mmmx -m3dnow -DNDEBUG" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Based on the output you show me there, I believe you either you have a corrupted world file, or you ran emerge with --nodeps. It shows that you had a 1.3 JDK, whereas the PHP eclass and ebuild clearly have a DEPEND on JDK-1.4. Blackdown 1.3 does NOT work with PHP, which is why the depend is in there. Upgrade Blackdown and the problem will go away.