View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Sat Jun 15, 2002 3:52 pm Post subject: sun-jdk 1.4 |
|
|
I have a problem with installing Sun's JDK 1.4; I've searched the forum but can't find any mention of this problem.
I've followed the instructions from the Docs (Downloaded the shell script from Sun, copied it to /usr/portage/distfiles, "emerge sun-jdk...), but it still refuses to install....
The ebuild looks for j2sdk-1_4_0-linux-i386.bin, but the file downloaded was j2sdk-1_4_0_01-linux-i586.bin. In my infinite wisdom I simply edited the ebuild to look for j2sdk-1_4_0_01...; this resulted in successful unpacking but an error in the checksum. I tried again by renaming the actual file. I also downloaded the file again, just to be sure it wasn't corrupt.
I am definitely a n00b with both linux and Gentoo, but it seems the ebuild checks for the file then prints the shell script to install.sfx beginning with the 295th line. It then chmods the script, executes it, and deletes it.
Since the error occurs during checksum, I assume that unpacking is successful, and that the script is executed. However, that's as far as I can get because the merge will quit with an error about the file being corrupt.
I assume a possible reason could be that the script checksums itself, and the check fails because the license agreement has been stripped out. However, the earlier jdk versions do merge, so this might be a new "feature."
Are there any ideas on how to fix this?
Maybe write an identical ebuild that doesn't strip out the license agreement? |
|
Back to top |
|
|
jdc n00b
Joined: 15 Jun 2002 Posts: 13
|
Posted: Sat Jun 15, 2002 4:32 pm Post subject: |
|
|
I was the original poster...but forgot to login.
Anyhow, I read a little more into the shell script, and it looks like it the error is because the script checksums itself. There are probably more elegant solutions, but I'm going to try and simply rename /usr/bin/sum so that the script won't be able to find sum to do the checksum...looking at the script, it should just skip checksumming and continue installing.
Hopefully, this thread might help someone else with the same problem. |
|
Back to top |
|
|
Saphlyx n00b
Joined: 07 Jun 2002 Posts: 7 Location: Edmonton, Alberta, Canada
|
|
Back to top |
|
|
|
|
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
|
|