Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sun-jdk failed - "please download sun-jdk"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Aug 12, 2002 2:49 am    Post subject: emerge sun-jdk failed - "please download sun-jdk" Reply with quote

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
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Aug 12, 2002 2:51 am    Post subject: Reply with quote

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
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Aug 12, 2002 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
carboxylman
n00b
n00b


Joined: 28 Jun 2002
Posts: 34
Location: minneapolis, mn

PostPosted: Mon Aug 12, 2002 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
carboxylman
n00b
n00b


Joined: 28 Jun 2002
Posts: 34
Location: minneapolis, mn

PostPosted: Mon Aug 12, 2002 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Aug 12, 2002 8:02 am    Post subject: Reply with quote

doing now :)
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Mon Aug 12, 2002 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Aug 12, 2002 9:00 am    Post subject: Reply with quote

thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum