View previous topic :: View next topic |
Author |
Message |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 5:29 pm Post subject: j2sdk-1_4_1-beta-linux-i586.bin has no ebuild yet |
|
|
I just downloaded the sun-jdk 1.4.1-beta last night, and then I found out that there isn't a ebuild for it yet. Should I wait for an ebuild to come out, or see if I can make my own ebuild. On that subject how does one create their own ebuild, and not have package.mask complain. |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jun 21, 2002 5:31 pm Post subject: Re: j2sdk-1_4_1-beta-linux-i586.bin has no ebuild yet |
|
|
Cooldy wrote: | On that subject how does one create their own ebuild, and not have package.mask complain. |
package.mask tells Portage what packages to ignore, not which packages to install. Think of it as a blacklist system and not a whitelist. |
|
Back to top |
|
 |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 6:02 pm Post subject: Almost got it to work. |
|
|
Then why do I get, this output when I try to emerge my custom ebuild.
Calculating dependencies \
!!! ebuild dev-java/sun-jdk-1.4.1-b14 not found (possibly blocked by package.mask)
How do I add it to the whitelist? |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jun 21, 2002 6:13 pm Post subject: |
|
|
No, see, there is no whitelist.
sun-jdk-1.4.1-b14 doesn't exist, that's why  |
|
Back to top |
|
 |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 6:19 pm Post subject: sun-jdk-1.4.1-b14.ebuild |
|
|
sun-jdk-1.4.1-b14 is the custom ebuild I made so that I can install the newest sun-jdk. I just want to know how to add it to the list of packages that can be emerged, so I can test it. |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jun 21, 2002 6:37 pm Post subject: |
|
|
Code: | # cd /usr/portage/mycategory/mypackage
# emerge mypackage-version.ebuild |
|
|
Back to top |
|
 |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 6:44 pm Post subject: Found out I just had to omit -b14 from the name |
|
|
When I omited the -b14, portion of the filename it let me emerge it. Too bad my ebuild doesn't work right.
If you would like to see the ebuild, you can download it from here: http://209.233.16.71/~eric/tmp/sun-jdk-1.4.1.ebuild
Maybe you can see what's wrong with it. |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jun 21, 2002 6:49 pm Post subject: |
|
|
How, exactly, does it not work right? |
|
Back to top |
|
 |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 6:57 pm Post subject: It doesn't copy the files right. |
|
|
It should copy the directory from j2sdk-1_4_1-beta-linux-i586.bin, which is j2sdk1.4.1 to
/opt/sun-jdk /opt/sun-jdk-1.4.1 , which it doesn't.
I think it's because of the license file that sun puts in the .bin file that's causing the problems. |
|
Back to top |
|
 |
Cooldy n00b


Joined: 14 Jun 2002 Posts: 12
|
Posted: Fri Jun 21, 2002 7:17 pm Post subject: I got it to work. |
|
|
I made an ebuild that works.
here it is, it requires moving some files around but it does work.
http://209.233.16.71/~eric/tmp/sun-jdk-1.4.1.ebuild
to install it, emerge the file
and then type the following
java-config --set-system-vm=sun-jdk-1.4.1
env-update
source /etc/profile
Enjoy!
 |
|
Back to top |
|
 |
|