On Thu, May 29, 2003 at 03:02:00PM +0100, Mark Fisher wrote: > -----BEGIN PGP SIGNED MESSAGE----- > 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 This error comes up because PHP needs >=jdk-1.4. This is currently fixed in the ~x86 ebuild, which may be moving over to stable in a few weeks. There are further things in progress with it, but it IS stable for practical use
Either install and setup (with java-config) any 1.4 JDK, or disable Java support in PHP with USE="-java". > 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: [snip] > 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/ [snip] > Could anyone suggest a solution to this [no doubt permission-related] problem? > Thx in advance. The problem exists because the 1.3 JDKs do NOT provide some functions that PHP requires. Their configure script SHOULD fail more gracefully (it should check the JDK version). I believe they have some open bugs about that in their BTS already. > A quick search on the forums and around bugs.gentoo doesnt show much/any known > problems. You didn't look hard enough. The bugs on bugs.gentoo.org are marked as RESOLVED already. -- Robin Hugh Johnson E-Mail : [EMAIL PROTECTED] Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 ICQ# : 30269588 or 41961639 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
pgp00000.pgp
Description: PGP signature
