Bug #16912 Updated: Compilation error
| From: | john at nua-tech dot com | Date: | Fri, 26 Jul 2002 15:24:01 +0000 |
| Subject: | Bug #16912 Updated: Compilation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15350@lists.php.net to get a copy of this message | ||
ID: 16912
Updated by: john@nua-tech.com
Reported By: Jakub.Gnat@webdynamix.de
Status: Open
Bug Type: Servlet related
Operating System: SuSe Linux 7.3
PHP Version: 4.2.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-04-29 14:27:46] Jakub.Gnat@webdynamix.de
I got PHP code source form www.php.net and I could not compile a file
servlet.java. (sapi/servlet) There is a line (75) where is
"result+=concat + name + "=" + URLEncoder.encode(value,"UTF-8")" I
checked a method encode and it has only one parameter as String so I
delete the second one and I compiled successfully. I used to compile
J2EESDK 1.3.1 from Sun, but I don't know if it will be work correctly.
'./configure' '--disable-debug' '--enable-tracks-vars'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-servlet'
'--with-java'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16912&edit=1