public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] New Java system
@ 2006-06-28 10:59 Dave Oxley
  2006-06-28 11:18 ` Bo Ørsted Andresen
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Oxley @ 2006-06-28 10:59 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the new Java system installed but I have a problem. I accidently
removed net-dns/libidn when I did an 'emerge --depclean', but its
required by Asterisk. When I try to emerge it I get the output below.
Anybody know how I can fix this.

Cheers,
Dave.

~ # emerge -av net-dns/libidn

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-dns/libidn-0.5.15  USE="java nls -doc -emacs" 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Yes
>>> Emerging (1 of 1) net-dns/libidn-0.5.15 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking libidn-0.5.15.tar.gz ;-)
 * Enabling generation-2 compatibility ...
 * There was a problem determining which VM to use for Generation-1
 * See the list of available VMs by using: java-config-1 -L
 * Then select on of those by using: java-config-1 -S <selected vm>
 * And once that is done, run: env-update && source /etc/profile
 * Then to continue the emerge: emerge --resume
                  [ !! ]

!!! ERROR: net-dns/libidn-0.5.15 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  ebuild.sh, line 1248:   Called java-pkg_pkg_setup
  java-pkg.eclass, line 42:   Called die

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEomEKx43ifHzpDVURAqjLAJ4kJWis4R9+eVJ3H/KCpNwOnmjZzgCfTJpR
QK9sEVfrJSGuAb9BBE/afb0=
=p3Eu
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] New Java system
  2006-06-28 10:59 [gentoo-user] New Java system Dave Oxley
@ 2006-06-28 11:18 ` Bo Ørsted Andresen
  2006-06-28 13:12   ` Dave Oxley
  0 siblings, 1 reply; 3+ messages in thread
From: Bo Ørsted Andresen @ 2006-06-28 11:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

On Wednesday 28 June 2006 12:59, Dave Oxley wrote:
> I have the new Java system installed but I have a problem. I accidently
> removed net-dns/libidn when I did an 'emerge --depclean', but its
> required by Asterisk. When I try to emerge it I get the output below.
> Anybody know how I can fix this.

>  * Enabling generation-2 compatibility ...
>  * There was a problem determining which VM to use for Generation-1
>  * See the list of available VMs by using: java-config-1 -L
>  * Then select on of those by using: java-config-1 -S <selected vm>
>  * And once that is done, run: env-update && source /etc/profile
>  * Then to continue the emerge: emerge --resume 

You need to follow the java upgrade guide [1]. java-check-environment will 
inform you that you need to install a Generation-1 VM. This is for ebuilds 
that have not yet been ported to the new system. Note that sun-jdk-1.5* 
cannot function as a Generation-1 VM. So to use sun-jdk for this you need to 
unmask and install sun-jdk-1.4.2.12.

[1] http://www.gentoo.org/proj/en/java/java-upgrade.xml

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] New Java system
  2006-06-28 11:18 ` Bo Ørsted Andresen
@ 2006-06-28 13:12   ` Dave Oxley
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Oxley @ 2006-06-28 13:12 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bo Ørsted Andresen wrote:
> On Wednesday 28 June 2006 12:59, Dave Oxley wrote:
>> I have the new Java system installed but I have a problem. I accidently
>> removed net-dns/libidn when I did an 'emerge --depclean', but its
>> required by Asterisk. When I try to emerge it I get the output below.
>> Anybody know how I can fix this.
> 
>>  * Enabling generation-2 compatibility ...
>>  * There was a problem determining which VM to use for Generation-1
>>  * See the list of available VMs by using: java-config-1 -L
>>  * Then select on of those by using: java-config-1 -S <selected vm>
>>  * And once that is done, run: env-update && source /etc/profile
>>  * Then to continue the emerge: emerge --resume 
> 
> You need to follow the java upgrade guide [1]. java-check-environment will 
> inform you that you need to install a Generation-1 VM. This is for ebuilds 
> that have not yet been ported to the new system. Note that sun-jdk-1.5* 
> cannot function as a Generation-1 VM. So to use sun-jdk for this you need to 
> unmask and install sun-jdk-1.4.2.12.
> 
> [1] http://www.gentoo.org/proj/en/java/java-upgrade.xml
> 
Oops, I missed putting Blackdown into package.keywords.

Cheers for your help,
Dave.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEooAxx43ifHzpDVURAiQNAJ4jlnIlv+f5NAm53qJLE6JKB0JiSQCfTwMf
joujuMZY1Ui3rjKNINIlBU4=
=xCri
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-28 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 10:59 [gentoo-user] New Java system Dave Oxley
2006-06-28 11:18 ` Bo Ørsted Andresen
2006-06-28 13:12   ` Dave Oxley

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