View previous topic :: View next topic |
Author |
Message |
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 12, 2002 2:49 am Post subject: emerge sun-jdk failed - "please download sun-jdk" |
|
|
trying to emerge sun-jdk but I get an error telling me to download the "j2sdk-1_4_0_01-linux-i586.bin"
this seems silly to me because this is what I'm trying to emerge!
Code: |
root@server chris # emerge sun-jdk tomcat mysql
Calculating dependencies ...done!
>>> emerge dev-java/sun-jdk-1.4.0-r5 to /
>>> Unpacking source...
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line 2, Exitcode 0
!!! Please download j2sdk-1_4_0_01-linux-i586.bin from http://java.sun.com/j2se/1.4/download.html (select the "Linux GNUZIP Tar shell script" package format of the SDK) and move it to /usr/portage/distfiles
!!! emerge aborting on /usr/portage/dev-java/sun-jdk/sun-jdk-1.4.0-r5.ebuild .
root@server chris #
|
is this a problem with the portage ? looks like emerge is looking for the source, but sun says you need the bin.
what can I do to get the portage to emerge it (short of downloading the bin seperately and installing myself ?)
thanks! |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 12, 2002 2:51 am Post subject: |
|
|
upon reflection, I don't think sun release the source.
so is there a way to tell emerge to download and run the .bin instead of looking for the source ?
perhaps an edited ebuild file ? |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 12, 2002 3:01 am Post subject: |
|
|
further to my posts ...
I've noticed that the build in the portage is 1.4.0-r5
where as build 1.4.0_01 offical has been released.
so I think portage is pointing to an old release candidate, and the server is saying, "no you need this new file now."
so can we update the ebuild file to get the new .bin ? |
|
Back to top |
|
|
carboxylman n00b
Joined: 28 Jun 2002 Posts: 34 Location: minneapolis, mn
|
Posted: Mon Aug 12, 2002 3:01 am Post subject: |
|
|
Do exactly what emerge told you to:
!!! Please download j2sdk-1_4_0_01-linux-i586.bin from http://java.sun.com/j2se/1.4/download.html (select the "Linux GNUZIP Tar shell script" package format of the SDK) and move it to /usr/portage/distfiles
Then run emerge sun-jdk, and it should work fine. |
|
Back to top |
|
|
carboxylman n00b
Joined: 28 Jun 2002 Posts: 34 Location: minneapolis, mn
|
Posted: Mon Aug 12, 2002 3:03 am Post subject: |
|
|
You *have* to download it separately to abide by sun's licensing stuff; that's why portage won't do it for you... I suppose somebody could cobble together a script that agrees to all the licensing stuff, but it could be a bit tedious; besides, people are supposed to do their own agreeing. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 12, 2002 8:02 am Post subject: |
|
|
doing now |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Mon Aug 12, 2002 8:48 am Post subject: |
|
|
j2sdk-1_4_0_01-linux-i586.bin is no source code but the binary. You really don't ever want to download sources from SUN. Here is a mail from Gentoo's Java maintainer Karl Trygve Kalleberg regarding the source licence from SUN:
http://lists.gentoo.org/pipermail/gentoo-user/2002-June/026817.html
Cheers,
Andreas |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 12, 2002 9:00 am Post subject: |
|
|
thanks |
|
Back to top |
|
|
|