Bug #8705 Updated: Compile fails with java support. Possibly due to compile script error?
| From: | sniper@php.net | Date: | Fri, 22 Jun 2001 12:41:46 +0000 |
| Subject: | Bug #8705 Updated: Compile fails with java support. Possibly due to compile script error? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57657@lists.php.net to get a copy of this message | ||
ID: 8705
Updated by: sniper
Reported By: pauldy3@home.com
Old-Status: Open
Status: Feedback
Bug Type: Java related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Could you please try the PHP 4.0.6 as I can not reproduce
this bug. What exactly is your system? RH? Debian?
Previous Comments:
---------------------------------------------------------------------------
[2001-01-15 00:35:27] pauldy3@home.com
Configure was run with the following options.
./configure --with-mysql --enable-inline-optimization --with-ldap=/usr/local --disable-debug
--enable-track-vars --with-apxs=/usr/sbin/apxs --disable-short-tags --prefix=/usr
--with-config-file-path=/etc/httpd --enable-safe-mode --with-exec-dir=/usr/bin --with-zlib
--with-java=/usr/local/java --with-gd --with-png-dir --with-jpeg-dir --with-t1lib
--enable-freetype-4bit-antialias-hack
The jdk1.2.2 file from java was used and an alias placed from /usr/local/jdk1.2.2 to
/usr/local/java. Then make was run and the following error was produced.
--- Begin Compile error ---
/root/httpdserver/php-4.0.4pl1/build/shtool mkdir -p net/php
javac net/php/reflect.java
/usr/bin/jar cf php_java.jar net/php/*.class net/php/*.properties
net/php/*.class: no such file or directory
make[3]: *** [php_java.jar] Error 2
make[3]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1
--- End Compile error ---
I was able to complete the compile phase through the following steps.
From the php4.0.4pl1 dir I ran the following commands
cd ./ext/java/net/php/net/php/
cp reflect.class ../../
cd ../../../../../../
make
I then got a second error
--- Begin error ---
rmdir: net/php: Directory not empty
make[3]: *** [php_java.jar] Error 1
--- End error ---
I then ran the following commands.
cd ext/java/net/php/
rm -rf net
cd ../../../../
After rerunning make this time everything worked without a problem. Hopefully this can be fixed in
a later release.
Thanks for the kickin piece of software.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8705&edit=2