From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  php sapi servlet doesn't compile

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 : ../../ext/java/
    $(mkinstalldirs) net/php
    @echo library=php4>net/php/
    @echo library=php4>net/php/
    @cp ../../ext/java/ .
    javac ./
    @test ! -f reflect.class || mv reflect.class net/php 
    javac ./
    @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 Bug report at:

PHP Development Mailing List <>
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