Hello!

On 15:02 Thu 29 May, Mark Fisher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Im just doing a cheeky emerge -u world and it got so far until mod_php-4.3.1 , 
> it then exited giving the following error:
> 
> [ ... ]
> 
> checking whether the C++ compiler (g++ -march=i586   
> - -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/mod_php-4.3.1 failed.
> !!! Function src_compile, Line 221, Exitcode 1
> !!! bad ./configure
> 
> [ ... ]
> 
> I did a little googling, found some other identical errors compiling mysql 
> amongst other things, some sites suggested changing the ' CXX ' environment 
> variable to ' gcc -O3 ', which gave the exact same error as above except the 
> first line read:
> 
> [ ... ]
> 
> checking whether the C++ compiler (gcc -O3 -march=i586
> 
> [ ... ]
> 
> Other sites recommended creating a hello world script and compiling it using 
> g++, which resulted in no errors, while other sites recommended looking at 
> the ' config.log ' file for a more exact error ... looking in 
> '/tmp/portage/mod_php-4.3.1/work/php-4.3.1' I cant see such a file :o/
> 
> A quick search on the forums and around bugs.gentoo doesnt show much/any known 
> problems.
> 
> Could anyone suggest a solution to this [no doubt permission-related] problem?  
> Thx in advance.
> 

USE="-java" emerge mod_php
this should help.

We need to create FAQ!!!

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list

Reply via email to