From: Andreas K. <ako...@we...> - 2005-09-30 14:13:12
|
Hi Peter Peter Niederlag schrieb: >I would think this mostly depends on the distribution you are using. The >following information is based on experience with debian-distribution. > > We are using Gentoo here, there is support for sun, ibm, bea, compaq, blackdawn... http://www.gentoo.org/doc/en/java.xml >The blackdown packages have proven to work really reliable here. > >http://www.blackdown.org/java-linux/java2-status/index.html > > Hm, I tried IBM-JDK, since it was used in the example, and I could make the jdk work, but make of php-java-bridge failed: gcc -shared .libs/natcJavaBridge.o -lrt -march=pentium3 -Wl,-soname -Wl,libnatcJavaBridge.so -o .libs/libnatcJavaBridge.so ar cru .libs/libnatcJavaBridge.a natcJavaBridge.o ranlib .libs/libnatcJavaBridge.a creating libnatcJavaBridge.la (cd .libs && rm -f libnatcJavaBridge.la && ln -s ../libnatcJavaBridge.la libnatcJavaBridge.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -DEXTENSION_DIR="\"/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050617\"" -I/opt/ibm-jdk-bin-1.4.2/include -D_REENTRANT -O2 -march=pentium3 -fomit-frame-pointer -MT RunJavaBridge.o -MD -MP -MF ".deps/RunJavaBridge.Tpo" -c -o RunJavaBridge.o RunJavaBridge.c; \ then mv -f ".deps/RunJavaBridge.Tpo" ".deps/RunJavaBridge.Po"; else rm -f ".deps/RunJavaBridge.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt gcc -O2 -march=pentium3 -fomit-frame-pointer -o RunJavaBridge RunJavaBridge.o -lrt /opt/ibm-jdk-bin-1.4.2/bin/javac php/java/bridge/*.java make[1]: *** [JavaBridge.jar] Killed make[1]: Leaving directory `/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/server' make: *** [/var/tmp/portage/php-java-bridge-2.0.7/work/php-java-bridge-2.0.7/modules/libnatcJavaBridge.la] Error 2 Hm, and I have no idea what to do. Do you think it's a problem with the JDK, or a specific version? I installed ibm-jdk-bin-1.4.2 (but without any X components...) >It has been running rock-stable here. Jost and his team(?) are really >doing a tremendous job imho. Personally I have used it in development >only yet. > > It really looks very promising - but first of all I have to make it work here. btw.: which "running-mode" do you recommend? We use an Apache with mod_php here - should I run php-java-bridge as service, in the webserver/php? What is the most stable version here? best regards Andreas |