Still having trouble with this. I have tried to compile the standard java extension in "ext/java", and I have tried to compile "php-java-bridge" v1.0.5. The 'phpize' script fails for the standard java extension with the following messages: > Can't locate object method "path" via package "Request" at /usr/local/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 94. > aclocal: autom4te failed with exit status: 1 The 'phpize' and 'configure' scripts complete successfully for php-java-bridge, and then 'make' fails with the following messages: > /opt/php/php-4.3.9/php-java-bridge_1.0.5/server/natcJavaBridge.c:202: too many arguments to function `sigwait' > make: *** [server/natcJavaBridge.lo] Error 1 I back-revved from PHP 4.3.10-dev to PHP 4.3.9, and I upgraded the supporting tools as follows: m4: 1.4.2 autoconf: 2.59 automake: 1.9 libtool: 1.5 As a reminder, I am running Solaris 9 for Sparc. Any help would be appreciated. --- Andrew Hauger <a_hauger@xxxxxxxxx> wrote: > Thanks Raditha. Unfortunately, I am still having > problems. I am new to building extensions, and now > my > problem is an error during the java extension build > process. > > I got the message : > > configure.in:65: error: possibly undefined macro: > AC_PROG_LIBTOOL > > when I ran phpize in the ext/java directory. I'm not > sure at this point how I managed to build the > extension the first time, because now I can't build > it. > > I researched this message, and I found bug report > #16552. I followed the instructions in the bug > report > that said the fix was to download the latest > snapshot, > but no luck. I am still getting the error. > > Here's my configuration: > > OS: Solaris 9 on Sparc > PHP: 4.3.10-dev (as of this morning, was 4.3.4) > automake: 1.62 > autoconf: 2.53 > > Again, I would appreciate any useful suggestions. > > --- raditha dissanayake <jabber@xxxxxxxxxxx> wrote: > > > Andrew Hauger wrote: > > > > >Everything compiled okay, and I think everything > is > > >installed in the right places. When I try to run > a > > >test program, I get the error: > > > > > >[error] PHP Fatal error: > > >java.lang.UnsatisfiedLinkError: no php_java in > > >java.library.path in > > >/usr/local/apache/htdocs/java_test2.php on line 5 > > > > > >The file php_java.jar is in that directory! > > > > > > > > And what is that directory? :-) > > > > here is what worked for me > > http://www.raditha.com/php/java.php i > > originally wrote it for version 1.4.2 but use thed > > same settings with 1.5.0 > > > > > > > > > > > > > > > > -- > > Raditha Dissanayake. > > > ------------------------------------------------------------------------ > > http://www.radinks.com/sftp/ | > > http://www.raditha.com/megaupload > > Lean and mean Secure FTP applet with | Mega Upload > - > > PHP file uploader > > Graphical User Inteface. Just 128 KB | with > progress > > bar. > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php