From: <php...@li...> - 2008-06-09 09:37:58
|
Issuing the following on Centos 4.5 x86_64: [root@red-9 downloads]# rpmbuild -tb php-java-bridge_5.2.2.tar.gz Make then stops on the following output: ... cat JavaRaw.inc | sed -f append.sed | sed 's/JAVA/MONO/g;s/java/mono/g;s/Java/Mono/g;s/updateJarLibraryPath/update LibraryPath/;s/^.*do not delete this line.*$/$name="cli.".$name;/;' >META-INF/java/Mono.inc 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.2.2/server' make: *** [/usr/src/redhat/BUILD/php-java-bridge-5.2.2/modules/stamp] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.55406 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.55406 (%build) [root@red-9 downloads]# gcj -v Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcj.spec rename spec lib to liborig Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-9) ... About native compilation, I'm not sure that's the goal here. I've sort of hijacked this thread so I don't know what the originator had in mind. I do know that in some environments it may be necessary for reasons of policy to install from packages only. Perhaps an rpm could be produced which depends on one of the Sun jdk comptability packages available from jpackage.org. I would say openjdk, but there are presently only three distros maintaining packages for it and none of them are based on Redhat. Regards, Matt -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: 06 June 2008 18:33 To: php...@li... Subject: Re: [Php-java-bridge-users] Any support for fedora core 9 inthenearfuture? Hi, > rpmbuild -tb php-java-bridge*.tar.gz which error message do you get when compiling the RPM? > over the site but could only see Debian packages. The .spec file > requires libgcj. Sure. Without it native compilation isn't possible. Regards, Jost Boekemeier __________________________________________________________ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system |