public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Eclipse not building for me
@ 2006-07-13  6:07 Kevin O'Gorman
  2006-07-13  7:38 ` Richard Fish
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin O'Gorman @ 2006-07-13  6:07 UTC (permalink / raw
  To: gentoo-user

I tried emerging eclipse.  No joy.  I went ~x86 on the unstable one
that matches the
version I use elsewhere, on the off chance that would work.  No joy.

It seems to be saying I should know how to "set your generation-1 VM again"
which I don't.  I have only Java 1.5 installed, which I gather is a problem for
eclipse.  What should I be doing?

Here's what it says.


>>> Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2-r3 to /
>>> Downloading
ftp://fido.online.kz/gentoo/pub/distfiles/eclipse-sourceBuild-srcIncluded-3.1.2.zip
--22:48:26--  ftp://fido.online.kz/gentoo/pub/distfiles/eclipse-sourceBuild-srcIncluded-3.1.2.zip
           => `/usr/portage/distfiles/eclipse-sourceBuild-srcIncluded-3.1.2.zip'
Resolving fido.online.kz... 212.154.208.7
Connecting to fido.online.kz|212.154.208.7|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /gentoo/pub/distfiles ... done.
==> PASV ... done.    ==> RETR
eclipse-sourceBuild-srcIncluded-3.1.2.zip ... done.
Length: 66,630,673 (64M) (unauthoritative)

100%[===========================================================>]
66,630,673   121.92K/s    ETA 00:00

22:57:07 (126.82 KB/s) -
`/usr/portage/distfiles/eclipse-sourceBuild-srcIncluded-3.1.2.zip'
saved [66630673]

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking eclipse-sourceBuild-srcIncluded-3.1.2.zip ;-)
 * Enabling generation-2 compatibility ...
 * There was a problem determining which VM to use for generation-1
 * You may need to set your generation-1 VM again, and run env-update
&& source/etc/profile
 * Also, make sure you have followed the Java Upgrade Guide:
 * http://www.gentoo.org/proj/en/java/java-upgrade.xml
                          [ !! ]

!!! ERROR: dev-util/eclipse-sdk-3.1.2-r3 failed.
Call stack:
  ebuild.sh, line 1561:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  eclipse-sdk-3.1.2-r3.ebuild, line 45:   Called java-pkg_pkg_setup
  java-pkg.eclass, line 41:   Called die

!!! Couldn't determine VM for generation-1
!!! If you need support, post the topmost build error, and the call
stack if relevant.

treat portage #




-- 
Kevin O'Gorman, PhD
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Eclipse not building for me
  2006-07-13  6:07 [gentoo-user] Eclipse not building for me Kevin O'Gorman
@ 2006-07-13  7:38 ` Richard Fish
  2006-07-13 18:52   ` Kevin O'Gorman
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2006-07-13  7:38 UTC (permalink / raw
  To: gentoo-user

On 7/12/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> I tried emerging eclipse.  No joy.  I went ~x86 on the unstable one
> that matches the
> version I use elsewhere, on the off chance that would work.  No joy.
>
> It seems to be saying I should know how to "set your generation-1 VM again"
> which I don't.  I have only Java 1.5 installed, which I gather is a problem for
> eclipse.  What should I be doing?

For current eclipse versions you need _both_ a 1.5 _and_ a 1.4 jdk
installed.  So install a 1.4 compatible jdk, along with
java-config-1.x, and use java-config-1 to set your "generation-1 VM".

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Eclipse not building for me
  2006-07-13  7:38 ` Richard Fish
@ 2006-07-13 18:52   ` Kevin O'Gorman
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin O'Gorman @ 2006-07-13 18:52 UTC (permalink / raw
  To: gentoo-user

On 7/13/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 7/12/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> > I tried emerging eclipse.  No joy.  I went ~x86 on the unstable one
> > that matches the
> > version I use elsewhere, on the off chance that would work.  No joy.
> >
> > It seems to be saying I should know how to "set your generation-1 VM again"
> > which I don't.  I have only Java 1.5 installed, which I gather is a problem for
> > eclipse.  What should I be doing?
>
> For current eclipse versions you need _both_ a 1.5 _and_ a 1.4 jdk
> installed.  So install a 1.4 compatible jdk, along with
> java-config-1.x, and use java-config-1 to set your "generation-1 VM".
>
> -Richard
I have both:
* dev-java/sun-jdk
     Available versions:  ~1.2.2.017 1.3.1.17 ~1.3.1.17-r10
1.4.2.10-r2 ~1.4.2.12 1.5.0.07
     Installed:           1.4.2.10-r2 1.5.0.07

I've followed the Gentoo Java Upgrade Guide, and even recompiled gtk+
(two slots)
with milder CFLAGS because one of the ebuilds barked at me (I removed
-fomit-frame-pointer
and -msse2).  I think I got farther, because the error messages
changed, but I still cannot
emerge eclipse-sdk:

Would you like to merge these packages? [Yes/No] yes
>>> Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2-r3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking eclipse-sourceBuild-srcIncluded-3.1.2.zip ;-)
 * Enabling generation-2 compatibility ...
 * Using sun-jdk-1.4
                          [ ok ]
 * Checking for at least 768MBytes RAM ...
                          [ ok ]
Detected a JDK >= 1.4.2
>>> Unpacking source...
>>> Unpacking eclipse-sourceBuild-srcIncluded-3.1.2.zip to
/var/tmp/portage/eclipse-sdk-3.1.2-r3/work
 * Applying 06-path-fixups.patch ...
                          [ ok ]
 * Setting up virtual machine
Detected a JDK < 1.5.0
 * Cleaning out prebuilt code
 * Patching makefiles
 * Building GNOME VFS support
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/eclipse-sdk-3.1.2-r3/work ...
 * Using bootclasspath
/opt/sun-jdk-1.4.2.12/jre/lib/rt.jar:/opt/sun-jdk-1.4.2.12/jre/lib/jsse.jar
 * Using JVM library path /opt/sun-jdk-1.4.2.12/jre/lib/i386
Invalid implementation version between Ant core and Ant optional tasks.
 core    : 1.6.5
 optional: 1.6.2

!!! ERROR: dev-util/eclipse-sdk-3.1.2-r3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  eclipse-sdk-3.1.2-r3.ebuild, line 115:   Called die

!!! Failed to bootstrap ecj
!!! If you need support, post the topmost build error, and the call
stack if relevant.

treat init.d #


-- 
Kevin O'Gorman, PhD
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-13 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13  6:07 [gentoo-user] Eclipse not building for me Kevin O'Gorman
2006-07-13  7:38 ` Richard Fish
2006-07-13 18:52   ` Kevin O'Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox