Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
j2sdk-1_4_1-beta-linux-i586.bin has no ebuild yet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Cooldy
n00b
n00b


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 5:29 pm    Post subject: j2sdk-1_4_1-beta-linux-i586.bin has no ebuild yet Reply with quote

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


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jun 21, 2002 5:31 pm    Post subject: Re: j2sdk-1_4_1-beta-linux-i586.bin has no ebuild yet Reply with quote

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


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 6:02 pm    Post subject: Almost got it to work. Reply with quote

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


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jun 21, 2002 6:13 pm    Post subject: Reply with quote

No, see, there is no whitelist.

sun-jdk-1.4.1-b14 doesn't exist, that's why :)
Back to top
View user's profile Send private message
Cooldy
n00b
n00b


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 6:19 pm    Post subject: sun-jdk-1.4.1-b14.ebuild Reply with quote

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


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jun 21, 2002 6:37 pm    Post subject: Reply with quote

Code:
# cd /usr/portage/mycategory/mypackage
# emerge mypackage-version.ebuild
Back to top
View user's profile Send private message
Cooldy
n00b
n00b


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 6:44 pm    Post subject: Found out I just had to omit -b14 from the name Reply with quote

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


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jun 21, 2002 6:49 pm    Post subject: Reply with quote

How, exactly, does it not work right?
Back to top
View user's profile Send private message
Cooldy
n00b
n00b


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 6:57 pm    Post subject: It doesn't copy the files right. Reply with quote

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


Joined: 14 Jun 2002
Posts: 12

PostPosted: Fri Jun 21, 2002 7:17 pm    Post subject: I got it to work. Reply with quote

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!
:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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