#16912 [Com]: Compilation error
| From: | francois dot turi at globecast dot com | Date: | Mon, 07 Apr 2003 09:50:56 +0000 |
| Subject: | #16912 [Com]: Compilation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37254@lists.php.net to get a copy of this message | ||
ID: 16912
Comment by: francois dot turi at globecast dot com
Reported By: Jakub dot Gnat at webdynamix dot de
Status: No Feedback
Bug Type: Servlet related
Operating System: SuSe Linux 7.3
PHP Version: 4.2.0
New Comment:
with php-4.3.2RC1
on aix 4.3.3
with JDK 1.3.1
configure -with-config-file-path=/s00/app/sso/admin/$SSO_ID/conf
\
--with-prefix=/s00/app/php/product/$SSO_ID
\
--with-servlet=$CATALINA_HOME/common
\
--with-ldap=$LDAP_HOME
\
--with-mhash=$MHASH_HOME
\
--with-oci8=$ORACLE_HOME
\
--with-mysql=$MySQL_HOME
\
--with-java=$JAVA_HOME
Same problem.
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 01:00:09] php-bugs at lists dot php dot net
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".
------------------------------------------------------------------------
[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 at nua-tech dot 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 at nua-tech dot 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 dot Gnat at webdynamix dot 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
------------------------------------------------------------------------
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