On Mon, 2003-03-03 at 20:31, Dessimat0r wrote:
> Here is the output from 'emerge php', right up to where it fails.
> 
> checking for mkfifo... no
> checking for getrlimit... no
> checking for PSPELL support... yes
> checking for QtDOM support... yes
> checking for c++... g++
> checking whether the C++ compiler (g++ -mcpu=athlon-xp -O3 -fforce-addr 
> -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
> -falign-functions=4 -foptimize-sibling-calls -fexpensive-optimizations -pipe   
> -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib 
> -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.
> /usr/sbin/ebuild.sh: line 238: die: command not found
> 
> !!! ERROR: dev-php/php-4.3.1-r1 failed.
> !!! Function src_compile, Line 185, Exitcode 127
> !!! bad ./configure
> 
> dessimat0r root #
> 
> Can anyone help? :/
> Thanks in advance
> 
> --
> [EMAIL PROTECTED] mailing list

If you're on gentoo 1.4 maybe it's an issue with blackdown-jdk 1.3.1
(there had been a problem related to php and blackdown-jdk about two
weeks ago, there's a thread in the list)

If you don't need java support try

USE="-java" emerge php

either you can emerge sun-jdk 1.4.1 or blackdown-jdk 1.4.1 (masked, but
I emerged it because it's compiled with gcc 3.2 and its plugin works
with Mozilla and Galeon).

Are you able to call g++ from the command line? I know it's a stupid
hint, but try

source /etc/profile

just after su (or use 'su -').


-- 
Arturo di Gioia <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to