Bug #11927 Updated: php sapi servlet doesn't compile
| From: | php-bugs at lists dot php dot net | Date: | Sun, 31 Mar 2002 05:00:03 +0000 |
| Subject: | Bug #11927 Updated: php sapi servlet doesn't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3671@lists.php.net to get a copy of this message | ||
ID: 11927
Updated by: php-bugs@lists.php.net
Reported By: daniel.dadusc@yoda.it
-Status: Feedback
+Status: No Feedback
Bug Type: Java related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-02-24 06:09:13] yohgaki@php.net
Please test with PHP 4.1.1+JDK 1.2 and report the result back
Please do not forget updating PHP version. Thanks.
------------------------------------------------------------------------
[2001-07-06 07:48:46] daniel.dadusc@yoda.it
Setup
Redhat 7.1
Jdk 1.31
The sapi servlet code doesn't compile because the code is in a terrible
state. hacking the makefiles and some of the java code i managed to get
it to compile correctly. i'm pretty much a newbie at this so i'm posting
the tentative fixes here.
here are the changes i made to the makefile in sapi/servlet:
phpsrvlt.jar : servlet.java ../../ext/java/reflect.java
$(mkinstalldirs) net/php
@echo library=php4>net/php/reflect.properties
@echo library=php4>net/php/servlet.properties
@cp ../../ext/java/reflect.java .
javac ./reflect.java
@test ! -f reflect.class || mv reflect.class net/php
javac ./servlet.java
@test ! -f servlet.class || mv servlet.class net/php
$(JAVA_JAR)v phpsrvlt.jar net/php/*.class net/php/*.properties
@rm -rf net
i removed the formatter servlet because it's useless
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11927&edit=1