NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP-Java-Bridge Compile Problem.

Andrew Yochum andrew at plexpod.com
Wed Jan 11 12:43:53 EST 2006


On Wed, Jan 11, 2006 at 12:44:21PM -0500, Hans Kaspersetz wrote:
> This maybe slightly off topic but the normal channels have not been 
> responsive.
> 
> I am trying to compile from source php-java-bridge on FreeBSD 5.3 and it 
> is dieing during the configure process.  I know we have some BSD gurus 
> on this list and I was hoping for a little help.
> 
> More information about the bridge including instructions can be found 
> at: http://php-java-bridge.sourceforge.net/
> 
> The details:
> 
> FreeBSD 5.3
> Sun Java sdk1.5.0
> Apache 2.0.53
> PHP 4.3.11
> php-java-bridge-2.0.8
> 
> I downloaded the file and untared it into:
> /usr/local/php-java-bridge-2.0.8
> 
> I ran: phpize && ./configure --disable-servlet 
> --with-java=/opt/IBMJava2-14 && make CFLAGS="-m32"
> 
> I get the following after a bunch of output.  I can provide the 
> config.log if you like.
> 
> ---snip output--
> configure: creating ./config.status
> config.status: creating config.h
> configure: configuring in server
> configure: running /usr/local/bin/bash
> './configure.gnu' --prefix=/usr/local
> '--disable-servlet' '--with-java=/opt/IBMJava2-14'
> --cache-file=/dev/null --srcdir=.
> ./configure.gnu: line 5: aclocal: command not found
> ./configure.gnu: line 6: autoheader: command not found
> ./configure.gnu: line 7: autoconf: command not found
> ./configure.gnu: line 8: libtoolize: command not found
> ./configure.gnu: line 10: automake: command not found
> ./configure: Can't open ./configure: No such file or
> directory
> configure: error: /usr/local/bin/bash './configure.gnu'
> failed for server
> bsdmachine#
> 
> 
> ----- End of screen data ---
> 
> I think my --with-java=/opt/foo is wrong. I imagine I need one that 
> signifies that I am using Sun Java. Beyond that, I am totally lost. 
> Please help, I have been pulling my hair out over this.
> 
> I am sure you need more information, just me know what you need.
> 
> Thanks,
> Hans

Looks like your missing GNU autoconf.  You'll probably need M4 also.

HTH,
Andrew

-- 
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879



More information about the talk mailing list