Building Icedtea 1.5 on Gentoo
Martin Pirker
Martin.Pirker at iaik.tugraz.at
Thu Jan 10 01:10:57 PST 2008
Hello....
I'll try to keep the description short:
Icedtea 1.5, to be build on a up-to-date Gentoo x86.
Followed instructions from Icedtea Wiki[1].
GCJ and ECJ (with GCJ support) build with GCJ overlay method, gives
* dev-java/gcj
Latest version installed: 4.3.0_alpha20071207
* dev-java/eclipse-ecj
Latest version installed: 3.4_pre2
So...
~/icedtea $ ./configure
--with-ecj=/usr/bin/ecj-3.4
--with-ecj-jar=/usr/share/eclipse-ecj-3.4/lib/ecj.jar
--with-libgcj-jar=/usr/lib/gcj-4.3.0_alpha20071207/share/java/libgcj-4.3.0-alpha20071207.jar
--with-xalan2-jar=/usr/share/xalan/lib/xalan.jar
--with-xalan2-serializer-jar=/usr/share/xalan-serializer/lib/serializer.jar
--with-xerces2-jar=/usr/share/xerces-2/lib/xercesImpl.jar
--with-gcj-home=/usr/lib/gcj-4.3.0_alpha20071207
However make stops with...
[...]
mkdir -p lib/tools
/usr/bin/ecj-3.4 -nowarn -g -d lib/tools -bootclasspath '' -source 1.6 \
-sourcepath
'rt:tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated'
\
@tools-source-files.txt
Unrecognized option : 1.6
make: *** [stamps/tools-class-files.stamp] Error 255
When I look at the options:
...# ecj-3.4
Eclipse Java Compiler 0.814, 3.4.0 milestone-2
[...]
-source <version> set source level: 1.3 to 1.7 (or 5, 5.0, etc)
[...]
...this "-source 1.6" option should exist.
Google gives only info for building Icedtea on Gentoo from half a year ago, some package
versions seem to have changed since then. Also, I think I have not yet understood the
dependencies of the packages in the Icedtea build process and this error is strange
and.... uhh.... help?!?
Thanks,
Martin
[1]http://icedtea.classpath.org/wiki/GentooBuildInstructions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7839 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20080110/efcb3096/smime.p7s
More information about the distro-pkg-dev
mailing list