Building Icedtea 1.5 on Gentoo
Andrew John Hughes
gnu_andrew at member.fsf.org
Tue Jan 22 14:47:59 PST 2008
On 10/01/2008, Martin Pirker <Martin.Pirker at iaik.tugraz.at> wrote:
> 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
>
>
FWIW, I've also failed to get it to build on either Gentoo or Debian
Etch. I'll have another look at some point and post the issues I
find.
--
Andrew :-)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
More information about the distro-pkg-dev
mailing list