Anyone else seen this or can tell me what I'm doing wrong ?

TIA  -pete

---Environment------------------------------------
Solaris Sparc 2.8 Patchkit as of 5/Apr/2002
Gcc 3.0.3 (Sunfreeware)
binutils 2.11.2 (Sunfreeware)
GNU Make version 3.79.1 (Sunfreeware)
GNU libtool 1.4 (1.920 2001/04/24 23:26:18) (Sunfreeware)
java j2sdk1_3_1_03 or java1.2 or java1.4.0
Zlib 1.1.4 (source)
php 4.1.2
---------------------------------------------------

---Failing configure--------------------------------
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/httpd/conf \
--without-mysql \
--with-zlib-dir=/usr/local \
--with-zlib=/usr/local \
--with-java=/usr/j2sdk1_3_1_03 (and java1.2 and j2sdk1.4.0)
----------------------------------------------------

---Working configure--------------------------------
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/httpd/conf \
--without-mysql \
--with-java=/usr/j2sdk1_3_1_03
----------------------------------------------------

---snipped output from make-------------------------
Making all in java
make[2]: Entering directory `/usr/local/build/php-4.1.2/ext/java'
make[3]: Entering directory `/usr/local/build/php-4.1.2/ext/java'
/bin/sh /usr/local/build/php-4.1.2/libtool --silent --mode=compile gcc
-I. -I/usr/local/build/php-4.1.2/ext/java
-I/usr/local/build/php-4.1.2/main -I/usr/local/build/php-4.1.2
-I/usr/local/apache/include -I/usr/local/build/php-4.1.2/Zend
-I/usr/local/include -I/usr/local/build/php-4.1.2/ext/xml/expat
-I/usr/j2sdk1_3_1_03/include -I/usr/j2sdk1_3_1_03/include/solaris
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208108 -DMOD_PERL
-DUSE_PERL_SSI -DEAPI -DEAPI_MM -DUSE_EXPAT
-I/usr/local/build/php-4.1.2/TSRM -g -O2 -prefer-pic -DJNI_12
-D_REENTRANT '-DJAVALIB="/usr/j2sdk1_3_1_03/jre/lib/sparc/libjava.so"'
-c java.c && touch java.slo
java.c: In function `jvm_create':
java.c:160: parse error before '*' token
java.c:192: `JNI_CreateVM' undeclared (first use in this function)
java.c:192: (Each undeclared identifier is reported only once
java.c:192: for each function it appears in.)
java.c:192: parse error before "JNICALL"
java.c:193: `type name' declared as function returning a function
java.c:193: cast specifies function type
java.c: At top level:
java.c:650: syntax error before "void"
java.c:664: syntax error before "void"
java.c:672: syntax error before "void"
java.c:680: syntax error before "void"
java.c:688: syntax error before "void"
java.c:711: syntax error before "void"
java.c:717: syntax error before "jlong"
java.c:727: syntax error before "jlong"
java.c:738: syntax error before "jlong"
java.c:751: syntax error before "void"
java.c:759: syntax error before "void"
make[3]: *** [java.slo] Error 1
make[3]: Leaving directory `/usr/local/build/php-4.1.2/ext/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/build/php-4.1.2/ext/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/build/php-4.1.2/ext'
make: *** [all-recursive] Error 1
-------------------------------------------------

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to