Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Eclipse not building for me
Date: Thu, 13 Jul 2006 19:19:49
Message-Id: 9acccfe50607131152g794a7bb5y4828e04dd21684ae@mail.gmail.com
In Reply to: Re: [gentoo-user] Eclipse not building for me by Richard Fish
1 On 7/13/06, Richard Fish <bigfish@××××××××××.org> wrote:
2 > On 7/12/06, Kevin O'Gorman <kogorman@×××××.com> wrote:
3 > > I tried emerging eclipse. No joy. I went ~x86 on the unstable one
4 > > that matches the
5 > > version I use elsewhere, on the off chance that would work. No joy.
6 > >
7 > > It seems to be saying I should know how to "set your generation-1 VM again"
8 > > which I don't. I have only Java 1.5 installed, which I gather is a problem for
9 > > eclipse. What should I be doing?
10 >
11 > For current eclipse versions you need _both_ a 1.5 _and_ a 1.4 jdk
12 > installed. So install a 1.4 compatible jdk, along with
13 > java-config-1.x, and use java-config-1 to set your "generation-1 VM".
14 >
15 > -Richard
16 I have both:
17 * dev-java/sun-jdk
18 Available versions: ~1.2.2.017 1.3.1.17 ~1.3.1.17-r10
19 1.4.2.10-r2 ~1.4.2.12 1.5.0.07
20 Installed: 1.4.2.10-r2 1.5.0.07
21
22 I've followed the Gentoo Java Upgrade Guide, and even recompiled gtk+
23 (two slots)
24 with milder CFLAGS because one of the ebuilds barked at me (I removed
25 -fomit-frame-pointer
26 and -msse2). I think I got farther, because the error messages
27 changed, but I still cannot
28 emerge eclipse-sdk:
29
30 Would you like to merge these packages? [Yes/No] yes
31 >>> Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2-r3 to /
32 >>> checking ebuild checksums ;-)
33 >>> checking auxfile checksums ;-)
34 >>> checking miscfile checksums ;-)
35 >>> checking eclipse-sourceBuild-srcIncluded-3.1.2.zip ;-)
36 * Enabling generation-2 compatibility ...
37 * Using sun-jdk-1.4
38 [ ok ]
39 * Checking for at least 768MBytes RAM ...
40 [ ok ]
41 Detected a JDK >= 1.4.2
42 >>> Unpacking source...
43 >>> Unpacking eclipse-sourceBuild-srcIncluded-3.1.2.zip to
44 /var/tmp/portage/eclipse-sdk-3.1.2-r3/work
45 * Applying 06-path-fixups.patch ...
46 [ ok ]
47 * Setting up virtual machine
48 Detected a JDK < 1.5.0
49 * Cleaning out prebuilt code
50 * Patching makefiles
51 * Building GNOME VFS support
52 >>> Source unpacked.
53 >>> Compiling source in /var/tmp/portage/eclipse-sdk-3.1.2-r3/work ...
54 * Using bootclasspath
55 /opt/sun-jdk-1.4.2.12/jre/lib/rt.jar:/opt/sun-jdk-1.4.2.12/jre/lib/jsse.jar
56 * Using JVM library path /opt/sun-jdk-1.4.2.12/jre/lib/i386
57 Invalid implementation version between Ant core and Ant optional tasks.
58 core : 1.6.5
59 optional: 1.6.2
60
61 !!! ERROR: dev-util/eclipse-sdk-3.1.2-r3 failed.
62 Call stack:
63 ebuild.sh, line 1545: Called dyn_compile
64 ebuild.sh, line 940: Called src_compile
65 eclipse-sdk-3.1.2-r3.ebuild, line 115: Called die
66
67 !!! Failed to bootstrap ecj
68 !!! If you need support, post the topmost build error, and the call
69 stack if relevant.
70
71 treat init.d #
72
73
74 --
75 Kevin O'Gorman, PhD
76 --
77 gentoo-user@g.o mailing list