ID: 8705
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Java related
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:

no feedback

Previous Comments:
------------------------------------------------------------------------

[2001-06-22 08:41:45] [EMAIL PROTECTED]

Could you please try the PHP 4.0.6 as I can not reproduce
this bug. What exactly is your system? RH? Debian? 




------------------------------------------------------------------------

[2001-01-15 00:35:27] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to