View previous topic :: View next topic |
Author |
Message |
Inimi n00b
Joined: 15 Feb 2008 Posts: 30
|
Posted: Tue Oct 21, 2008 12:21 pm Post subject: IcedTea installation/ Request for an up to date howto |
|
|
Hi,
I want to install icedtea6 because I want a java-plugin for my firefox.
If I try to install icedtea6-1.3.1 it gives me this error:
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge ] dev-java/icedtea6-1.3-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero"
[ebuild N ] virtual/icedtea-jdk-1.6
[ebuild N ] dev-java/icedtea6-1.3-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero"
!!! Error: circular dependencies:
('ebuild', '/', 'dev-java/icedtea6-1.3-r1', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.3-r1', 'merge') (hard)
('ebuild', '/', 'virtual/icedtea-jdk-1.6', 'merge') (hard)
('ebuild', '/', 'virtual/icedtea-jdk-1.6', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.3-r1', 'merge') (medium)
!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.
|
I don't want to install a gcc 4.3 or any big unstable things on my system.
Is there any way to get icedtea6 installed please??
I recently had icedtea6 1.2 installed but an emerge --depclean killed the installation with no reason.
Bye
Günther |
|
Back to top |
|
|
Tadeas Tux's lil' helper
Joined: 19 Sep 2008 Posts: 113 Location: Prague
|
Posted: Tue Oct 21, 2008 8:43 pm Post subject: |
|
|
Another voice for a stronger call . I suppose there is quite many of us who would appreciate this howto... |
|
Back to top |
|
|
electronvolt Tux's lil' helper
Joined: 16 May 2007 Posts: 83
|
Posted: Tue Oct 21, 2008 11:34 pm Post subject: |
|
|
OK.....here is a mini-howto for installing icedtea6 using gcj to bootstrap.
(Inimi you MAY be able to bootstrap icedtea6 using sun-jdk and avoid having to upgrade gcc, but I'm not sure this will work or whether any of the icedtea dependencies need >=gcc-4.3 and gcj to compile)
As it is necessary to keyword unmask gcc, glibc and several other packages this may not be the way to go if all you want is java working in firefox on amd64. For that I'd just recommend installing the 32bit binary firefox. But if you really want, or need, to install icedtea6 here goes!!
1) emerge subversion and layman if you haven't got them installed already.
Code: |
emerge -av subversion layman
|
2) now install the java-overlay
Code: |
layman -a java-overlay
|
(you now need to add Code: | source /usr/portage/local/layman/make.conf | to /etc/make.conf)
3) unmask the required packages
add the following to /etc/portage/package.keywords :-
Code: |
=sys-devel/gcc-4.3.1
=sys-libs/glibc-2.7-r2
virtual/jdk
dev-java/gcj-jdk
app-admin/eselect-ecj
=dev-java/ant-core-1.7.0-r3
=dev-java/eclipse-ecj-3.4.1
virtual/gnu-classpath-jdk
dev-java/icedtea6
virtual/icedtea-jdk
|
4) ensure you have gcj in your USE flags in /etc/make.conf
5) Code: | emerge -DuNav world | to update gcc, glibc and whatever else is necessary. NOTE once you've updated glibc you cannot subsequently downgrade, but you knew that already, right? Also, having upgraded glibc it is recommended to rebuild your worldset, Now you see why the firefox-bin option is the one I recommend!!
6) Having come this far we can now actually emerge icedtea!!
Code: |
emerge -av icedtea6
|
Hopefully it should pull in all the necessary dependencies and install them in the correct order, but from my experience it is a pretty fragile build process!!
this worked for me on 3 machines but ymmv |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Wed Oct 22, 2008 12:16 pm Post subject: |
|
|
yer icedtea compiles fine for me _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
tkmorris n00b
Joined: 22 Oct 2008 Posts: 5
|
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 22, 2008 7:44 pm Post subject: |
|
|
Moved from Gentoo on AMD64 to Unsupported Software.
unsupported stuff, so moved here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Schwinni Apprentice
Joined: 02 Sep 2004 Posts: 214 Location: quadrant1.earth. germany.wuerzburg
|
|
Back to top |
|
|
Inimi n00b
Joined: 15 Feb 2008 Posts: 30
|
Posted: Sat Oct 25, 2008 11:39 am Post subject: |
|
|
Hi,
I don't want to upgrade my gcc for that.
I already got it working before emerge has decided to throw icedtea way for no reason.
Thanks for your up to date howto.
Bye
Inimi |
|
Back to top |
|
|
|