From: <php...@li...> - 2007-04-16 15:50:42
|
Hi, what's wrong with the J2EE download? C compilation isn't for everyone. > when i use > echo "<?php dl('java.so'); phpinfo() ?>" | php -n > > result.txt > > Segmentation fault (core dumped) Which gcc version do you use? Some gcc versions have a bug in their optimizer. This bug has been reported twice, against FreeBSD and RedHat Linux. The workaround is to switch to another gcc version or to switch off the optimizer (export CFLAGS="-O0"). In any case, this isn't a problem in the PHP/Java Bridge code. > --disable-backend[...] > Do you want to [...] > Generate PHP classes from standard Java classes [...] > java.lang.NoClassDefFoundError: You haven't built the back end (the JavaBridge.jar). If you want to transform java libraries into php pear classes, you need the JavaBridge.jar. Which in turn means that you must either install the required autoconf, automake and libtool versions or disable back end compilation and use the JavaBridge.jar from the J2EE back end. > php/java/bridge/JavaBridge > cp: java/*.php: No such file or directory Okay. > "Makefile", line 8: Could not find > /usr/share/selinux//include/Makefile > make: fatal errors encountered -- cannot continue > install.sh: /usr/sbin/semodule: not found > install.sh: /usr/bin/chcon: not found > install.sh: /usr/bin/chcon: not found > PHP/Java Bridge installed. Okay. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |