|
From: <php...@li...> - 2009-01-24 08:43:14
|
Hi,
I am attempting to install on CentOS using the method INSTALL.LINUX
outlines:
rpmbuild -tb php-java-bridge_5.4.3.1.tar.gz
However, I am hitting problems. The make processing fails with the
following errors:
...
gcj -w -ftarget=1.4 -classpath .:script-api.jar -C php/java/bridge/
*.java php/java/bridge/http/*.java
jc1: error: unrecognized command line option "-ftarget=1.4"
make[1]: *** [MonoBridge.exe] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-java-
bridge-5.4.3.1/server'
make: *** [/usr/src/redhat/BUILD/php-java-bridge-5.4.3.1/modules/
stamp] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.16878 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.16878 (%build)
It would seem the GCJ v4.1 (the current stable release for CentOS)
does not have the -ftarget=X flag, which was introduced in v4.2.
Removing the flag from php-java-bridge-5.4.3.1/server/Makefile.am
doesn't seem to help. I just get more errors.
My question is, does anyone have experience/advice with regards to
installing on CentOS? Is there a way to avoid the above errors? Is
there a ready to use RPM for CentOS?
Thank you for any help that can be provided.
- Alistair
|