|
From: <php...@li...> - 2009-04-20 10:31:19
|
Can you tell me which Makefile.am is to be edited? I got two files: php-java-bridge-5.4.4/bin/Makefile.am php-java-bridge-5.4.4/server/Makefile.am btw, is there a method by which rpmbuild can be run for the extracted folder and not need to recreate a tar.gz if I altered any files? I actually edited both files and still I get the same error message when I did rpmbuild of the recreated tar,gz. Warm Regards, Thangaraj On Mon, Apr 20, 2009 at 1:54 PM, < php...@li...> wrote: > Thank you very much for the bug report. > > This will be fixed in PHP/Java Bridge version 5.4.4.2. > > As a workaround please edit Makefile.am within php-java-bridge*.tar.gz and > remove the text "-ftarget=1.4". > Or please use the binary download instead. > > Regards, > Jost Boekemeier > > Apr 19, 2009 7:14 nachm. schrieb am "Jost Bekemeier" < > jos...@go...>: > > [-ftarget flag missing] > Doesn't gcc 4.1.2 shipped with RHEL5.3 support this flag? > > I will check this and add a fix, if necessary. > > Regards, > Jost Boekemeier > > Apr 19, 2009 5:41 nachm. schrieb am < > php...@li...>: > > Jost, > We're finally going the tomcat route. But when building the rpm (rpmbuild > -tb php-java-bridge*.tar.gz), I always get an error message: > -- > jc1: error: unrecognized command line option "-ftarget=1.4" > -- > regardless of the java bridge version I am using. I've tried > php-java-bridge_5.2.2.4.tar.gz > php-java-bridge_5.4.3.3.tar.gz > php-java-bridge_5.3.4.1.tar.gz and > php-java-bridge_5.4.4.tar.gz > > > Am I missing something? > > In the course of installing tomcat I've had to install the following: > > Installed: tomcat5.x86_64 0:5.5.23-0jpp.7.el5_2.1 > Dependency Installed: ant.x86_64 0:1.6.5-2jpp.2 axis.x86_64 0:1.2.1-2jpp.6 > bcel.x86_64 0:5.1-8jpp.1 classpathx-jaf.x86_64 0:1.0-9jpp.1 > classpathx-mail.x86_64 0:1.1.1-4jpp.2 eclipse-ecj.x86_64 > 1:3.2.1-19.el5.centos geronimo-specs.x86_64 0:1.0-0.M2.2jpp.12.el5.centos > geronimo-specs-compat.x86_64 0:1.0-0.M2.2jpp.12.el5.centos giflib.x86_64 > 0:4.1.3-7.1.el5.1 jakarta-commons-beanutils.x86_64 0:1.7.0-5jpp.1 > jakarta-commons-collections.x86_64 0:3.2-2jpp.3 > jakarta-commons-daemon.x86_64 1:1.0.1-6jpp.1 jakarta-commons-dbcp.x86_64 > 0:1.2.1-7jpp.1 jakarta-commons-digester.x86_64 0:1.7-5jpp.1 > jakarta-commons-discovery.x86_64 1:0.3-4jpp.1 jakarta-commons-el.x86_64 > 0:1.0-7jpp.1 jakarta-commons-fileupload.x86_64 1:1.0-6jpp.1 > jakarta-commons-httpclient.x86_64 1:3.0-7jpp.1 > jakarta-commons-launcher.x86_64 0:0.9-6jpp.1 jakarta-commons-logging.x86_64 > 0:1.0.4-6jpp.1 jakarta-commons-modeler.x86_64 0:1.1-8jpp.3.el5 > jakarta-commons-pool.x86_64 0:1.3-5jpp.1 java-1.6.0-openjdk.x86_64 > 1:1.6.0.0-0.30.b09.el5 java-1.6.0-openjdk-devel.x86_64 > 1:1.6.0.0-0.30.b09.el5 ldapjdk.x86_64 0:4.18-2jpp.3.el5 log4j.x86_64 > 0:1.2.13-3jpp.2 mx4j.x86_64 1:3.0.1-6jpp.4 regexp.x86_64 0:1.4-2jpp.2 > tomcat5-common-lib.x86_64 0:5.5.23-0jpp.7.el5_2.1 tomcat5-jasper.x86_64 > 0:5.5.23-0jpp.7.el5_2.1 tomcat5-jsp-2.0-api.x86_64 0:5.5.23-0jpp.7.el5_2.1 > tomcat5-server-lib.x86_64 0:5.5.23-0jpp.7.el5_2.1 > tomcat5-servlet-2.4-api.x86_64 0:5.5.23-0jpp.7.el5_2.1 ws > Installed: gcc-java.x86_64 0:4.1.2-44.el5 mono-core.x86_64 > 0:1.2.4-2.el5.centos selinux-policy-devel.noarch 0:2.4.6-203.el5 > Dependency Installed: libgcj-devel.x86_64 0:4.1.2-44.el5 libgdiplus.x86_64 > 0:1.2.5-1.el5.centos > Updated: cpp.x86_64 0:4.1.2-44.el5 gcc.x86_64 0:4.1.2-44.el5 libgcc.i386 > 0:4.1.2-44.el5 libgcc.x86_64 0:4.1.2-44.el5 libgcj.x86_64 0:4.1.2-44.el5 > libgfortran.x86_64 0:4.1.2-44.el5 libgomp.x86_64 0:4.3.2-7.el5 > libstdc++.x86_64 0:4.1.2-44.el5 libstdc++.i386 0:4.1.2-44.el5 > libstdc++-devel.x86_64 0:4.1.2-44.el5 selinux-policy.noarch 0:2.4.6-203.el5 > Dependency Updated: gcc-c++.x86_64 0:4.1.2-44.el5 gcc-gfortran.x86_64 > 0:4.1.2-44.el5 selinux-policy-targeted.noarch 0:2.4.6-203.el5 > Complete! > > Installed: xml-commons-apis.x86_64 0:1.3.02-0.b2.7jpp.10 > Complete! > > Here's the error line: > --- > cat META-INF/java/JavaBridge.inc META-INF/java/Options.inc > META-INF/java/Client.inc META-INF/java/GlobalRef.inc > META-INF/java/NativeParser.inc META-INF/java/Parser.inc > META-INF/java/Protocol.inc META-INF/java/SimpleParser.inc > META-INF/java/JavaProxy.inc | sed -f extract.sed | sed '/^\/\*/,/\*\/$/d' > >JavaRaw.inc > cat JavaRaw.inc | sed -f append.sed | sed > > 's/JAVA/MONO/g;s/java/mono/g;s/Java/Mono/g;s/updateJarLibraryPath/updateLibraryPath/;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.3.4.1/server' > make: *** [/usr/src/redhat/BUILD/php-java-bridge-5.3.4.1/modules/stamp] > Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.83378 (%build) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.83378 (%build) > --- > > Help! > > Warm Regards, > Thangaraj > > On Sat, Mar 28, 2009 at 2:18 PM, < > php...@li...> wrote: > Hi, > > ... > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > > php-java-bridge-users mailing list > > php...@li... > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > -- > > www.ishafoundation.org www.projectgreenhands.org www.bootcd.us > www.ecobuddy.in > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > > php-java-bridge-users mailing list > php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- www.ishafoundation.org www.projectgreenhands.org www.bootcd.us www.ecobuddy.in |