#16912 [Fbk->NoF]: Compilation error
| From: | php-bugs at lists dot php dot net | Date: | Fri, 25 Oct 2002 06:00:10 +0000 |
| Subject: | #16912 [Fbk->NoF]: Compilation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23275@lists.php.net to get a copy of this message | ||
ID: 16912
Updated by: php-bugs@lists.php.net
Reported By: Jakub.Gnat@webdynamix.de
-Status: Feedback
+Status: No Feedback
Bug Type: Servlet related
Operating System: SuSe Linux 7.3
PHP Version: 4.2.0
New Comment:
No feedback was provided for this bug for over 2 weeks, 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-10-09 11:30:31] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-07-26 11:43:55] john@nua-tech.com
BTW, I'm using RH 6.2 PHP 4.2.2 Tomcat 4.04 and Sun's JDK1.3.0
Damn, the same thing happens in J2SDK1.4.0-01.
I'm configuring --with-servlet=/usr/local/tomcat/common
--with-java=/usr/local/J2SDK1.4.0-01
It configures, but when I try to run a make I get:
make[3]: Entering directory
`/home/dougie/build/php-4.2.2/sapi/servlet'
/home/dougie/build/php-4.2.2/build/shtool mkdir -p net/php
javac net/php/reflect.java
javac -classpath
.:/usr/local/tomcat/common/lib/servlet.jar:/usr/java/j2sdk1.4.0_01/lib/
net/php/servlet.java
net/php/servlet.java:75: encode(java.lang.String) in
java.net.URLEncoder cannot be applied to
(java.lang.String,java.lang.String)
result += concat + name + "=" + URLEncoder.encode(value,
"UTF-8");
^
1 error
make[3]: *** [phpsrvlt.jar] Error 1
make[3]: Leaving directory `/home/dougie/build/php-4.2.2/sapi/servlet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dougie/build/php-4.2.2/sapi/servlet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dougie/build/php-4.2.2/sapi'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
[2002-07-26 11:24:00] john@nua-tech.com
I am having the same problem with sun jdk1.3, I want to use php/cocoon
and xindice on the same box, but cannot due to the fact that Xindice
requires jdk1.3
------------------------------------------------------------------------
[2002-04-30 05:03:29] Jakub.Gnat@webdynamix.de
1. Thank's for a tip. I did this, but the main problem still exists I
cannot reach a stable version of PHP servlet(Tomcat craches). This time
I configured PHP only --with-java --with-servlet.
2. The problem of compilation exists when is used the JDK 1.3. with
JDK1.4 compilation is successful. I think it(which JDK) should be added
to the sapi/servlet/README to avoid a frustration.
Best regards
------------------------------------------------------------------------
[2002-04-29 19:33:50] sniper@php.net
First of all, drop the --with-apxs from your configure line.
You can not compile 2 sapis at same time.
Also, read the sapi/servlet/README file.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16912
--
Edit this bug report at http://bugs.php.net/?id=16912&edit=1