|
From: <php...@li...> - 2008-05-30 16:07:48
|
Is there any support in the near future for fedora core 9 Thanks again and keep up the good work -- globe <http://www.solutionbyte.com>Gianfranco Baggio gf...@so... |
|
From: <php...@li...> - 2008-05-30 16:17:05
|
I don't know whether you've tried this already, but you might be able to rebuild the rpm file from source as explained in INSTALL.LINUX. This is not working for me at the moment on Centos 4.5 because of an unrecognized gcj flag in the Makefile which I'm trying to sort out, but it may well work for you with the more recent version of gcj you clearly have. If you can't create the rpm then you will probably have better luck with just building the source as explained in INSTALL. Hope this helps. Regards, Matt -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: 30 May 2008 17:10 To: php...@li... Subject: [Php-java-bridge-users] Any support for fedora core 9 in the nearfuture? Is there any support in the near future for fedora core 9 Thanks again and keep up the good work -- globe <http://www.solutionbyte.com>Gianfranco Baggio gf...@so... ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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 |
|
From: <php...@li...> - 2008-05-31 16:37:43
|
Hi,
the PHP/Java Bridge is written in pure Java. It runs with all Java versions >= Java 1.4.
> unrecognized gcj flag in the Makefile [...]
trying to compile Java to native code is a waste of time, imho.
Native code provides the same features as the pure Java implementation, except that the gcj-compiled code runs 5 times slower than the JIT compiled code from the OpenJDK.
Regards,
Jost Boekemeier
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
|
|
From: <php...@li...> - 2008-06-02 08:55:42
|
Hi Jost,
I was just following the instructions in INSTALL.LINUX to see if this
was an option for the user who wishes to install rpms:
----%<----
Installation on RedHat, Fedora, CentOS ...
------------------------------------------
* Check if the Java libraries you're interested in are available as
native binaries. If not, you need to install Java and the J2EE
component, see the INSTALL.J2EE or INSTALL.J2SE document and the
Security Enhanced Linux secion in the README.
* Download and install the PHP/Java Bridge base and the libraries. For
example:
rpm -i php-java-bridge-x.y.z-1-i386.rpm
rpm -i lucene4php-x.y.z-1.i386.rpm
rpm -i itext4php-x.y.z-1.i386.rpm
* Each native library contains at least one PHP example in
/usr/share/doc/<libname>/example.
* To rebuild the RPM files, download the php-java-bridge*.tar.gz
archive and type (as root):
rpmbuild -tb php-java-bridge*.tar.gz
----%<----
Without doing this, I'm not sure where one obtains a file like
php-java-bridge-5.2.2-1.i386.rpm. I looked in the downloads area and all
over the site but could only see Debian packages. The .spec file
requires libgcj.
Regards,
Matt
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf
Of php...@li...
Sent: 31 May 2008 17:38
To: php...@li...
Subject: Re: [Php-java-bridge-users] Any support for fedora core 9 in
thenearfuture?
Hi,
the PHP/Java Bridge is written in pure Java. It runs with all Java
versions >= Java 1.4.
> unrecognized gcj flag in the Makefile [...]
trying to compile Java to native code is a waste of time, imho.
Native code provides the same features as the pure Java implementation,
except that the gcj-compiled code runs 5 times slower than the JIT
compiled code from the OpenJDK.
Regards,
Jost Boekemeier
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
|
|
From: <php...@li...> - 2008-06-06 17:33:16
|
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
|
|
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
|
|
From: <php...@li...> - 2008-06-10 13:46:42
|
Hi,
well, the bridge works correctly under fedora 9.
However, since the LINUX instructions cause serious confusion, I will remove the LINUX folder from the binary download.
Regards,
Jost Boekemeier
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
|