I am attempting to install on CentOS using the method INSTALL.LINUX
rpmbuild -tb php-java-bridge_18.104.22.168.tar.gz
However, I am hitting problems. The make processing fails with the
gcj -w -ftarget=1.4 -classpath .:script-api.jar -C php/java/bridge/
jc1: error: unrecognized command line option "-ftarget=1.4"
make: *** [MonoBridge.exe] Error 1
make: Leaving directory `/usr/src/redhat/BUILD/php-java-
make: *** [/usr/src/redhat/BUILD/php-java-bridge-22.214.171.124/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-126.96.36.199/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.
> the Linux RPM's are for RedHat/Fedora Linux installations. From the
Well, you see, the INSTALL.LINUX actually mentions CentOS, hence my
> Installation on RedHat, Fedora, CentOS ...
I did see the mention of gcj version having to be >= 4.2 Guess I was
just hoping there would be a way simple way of getting it. Pure java
download it is. Thank you for the clarification.