ID: 20505
User updated by: tjw@webteam.net
Reported By: tjw@webteam.net
Status: Open
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.3.0RC1
New Comment:

It seems I was a bit hasty in my testing. I forgot to rm config.cache
for each of the runs.

The only JDK's that fail are IBMJava2-131 and Kaffe 1.0.7. All of the
Blackdown JDK's work fine (with configure that is).

IBM's JDK puts libjava.so inside of jre/bin as opposed to jre/lib/i386
as Blackdown does. There should be a test for this in configure, but
I'm not sure of the best spot. I was able to build 4.3.0RC1
by manually adjusting JAVA_LIBPATH.

Kaffe seems to have changed into an entirely different beast in 1.0.6
and 1.0.7. It looks like several things configure looks for are no
longer in the same place as they were in older versions of Kaffe as
they are now in .jar files. I'm unable to test out the older versions

of Kaffe because I can't get them to build on my system. I'm also
not experienced enough in Kaffe to try to tweak PHP to build with it.

Previous Comments:

[2002-11-19 15:14:06] tjw@webteam.net

./configure --with-java=/usr/local/jdk

fails with

checking for Java support... yes
checking Java Jar location... /usr/local/jdk/bin/jar cf
checking Java C location... /usr/local/jdk/bin/javac
checking Checking for libjava...
configure: error: unable to find Java VM libraries in /usr/local/jdk

Same result for /usr/local/jdk equal to:

IBMJava2-131 (IBM's Java2 JDK)
j2sdk1.3.1 (Blackdown 1.3.1 JDK)
j2sdk1.4.1 (Blackdown 1.4.1 JDK)
jdk1.2.2 (Blackdown 1.2.2 JDK)
kaffe_1.0.7 (Kaffe 1.0.7)


Edit this bug report at http://bugs.php.net/?id=20505&edit=1

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupphp-bugs @
postedNov 19, '02 at 9:14p
activeAug 19, '03 at 12:44a

3 users in discussion

Sniper: 2 posts Tjw: 2 posts Chregu: 1 post



site design / logo © 2022 Grokbase