Re: Java-gcj in Gentoo/Alpha

Hanno Meyer-Thurow <h.mth-S0/[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
On Mon, 13 Aug 2007 20:48:51 +0200
"Jose Luis Rivero (YosWinK)" <[email protected]> wrote:

> Hi *:

Hi,

> I tested the gcj-4.3* but it gives an internal compiler error which need 
> a bit more of love (probably I will work on this in the next days).

let's see next days with new snapshot that I will add.

> Using gcj-4.2 from the java-gcj-overlay and patches from debian/fedora 
> was quite easy to have a jre/jdk 1.4 working

Nice.

> Here we go:
> 
> ========================
> 1. Bump gcj-4.2_alpha to gcj-4.2.1 (and gcj-jdk)
> 
> Bumping the version of gcj to 4.2.1 from 4.2_alpha was as trivial as 
> copy the ebuild. Probably I can give it a try in x86 but anyway, I think 
> that we can keep the new version only keyworded for alpha if needed.

Keywords can stay just add alpha.

> ========================
> 4. commons-daemon
> 
> Problem:
> During the compiling process it didn't found jni.h. Problem was in 
> configure.in which set the include path to "$JAVA_HOME/include" (which 
> points to "/usr/lib/jvm/gcj-jdk-4.2/include" probably following the 
> symlink "/etc/java-config-2/current-vm/").

The header jni.h should be in $JAVA_HOME/include.
So the gcc-java-2.eclass needs updating for alpha arch.
We may discuss this in IRC.

> ========================
> 5. tomcat
> 
> Problem 1:
> tomcat-5.5 depends upon dev-java/eclipse-ecj-3.2 while I used the next
> version 3.3.

ecj-3.3 is in portage, so you may open a bugreport that it gets
updated for tomcat?

I would not put too much effort into tomcat-5 with gcj-4.2
just because gcj-4.3 and tomcat-6 did just fine for me.

> Comments? Feedback? Destructive criticism?

Now, get your gentoo-overlays account and feed gcj-overlay
with your work so the alpha folks can enjoy the world of Java! :)

> Thanks.

You're welcome!

Hanno
-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.