|
From: <php...@li...> - 2008-07-02 01:17:23
|
hi, i'm doing a 1st install of php-java-bridge_5.2.2. reading @: http://php-java-bridge.sourceforge.net/doc/faq.php i note: #Can I use Java libraries without installing java? Yes. On a GNU operating system (e.g.: GNU/Linux, GNU/windows (aka "cygwin"), ...) you can use the GCC compiler to compile Java classes to native code. Simply compile the C based extension and omit the --with-java= configure option. The bridge will use the libgcj library, which is part of the GNU gcc compiler. This library also uses much less system resources (memory, files) than a "real" Java VM. on my box, uname -o GNU/Linux -> Debian gcj --version gcj (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-20) autoconf --version autoconf (GNU Autoconf) 2.62 libtool --version ltmain.sh (GNU libtool) 2.2.4 automake --version automake (GNU automake) 1.10.1 which java /home/sc/jdk/bin/java java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode) but @, cd php-java-bridge-5.2.2 phpize ./configure the process dies at, ... FATAL: Native compilation not supported on this system. Install a java SDK and run: ./configure --with-java=<JAVA_HOME> Back-end configuration failed. Please install the recommended autoconf, libtool and automake versions or disable back-end configuration and use the pre-compiled J2EE back-end: ./configure --disable-backend --with-java=<JAVA_HOME> configure: error: ./configure.gnu failed for server i thought i had the prereqs taken care of for a java-less install. what am i missing? thanks! |