My first install of Gentoo, and I'm pleased by how far I've progressed on
my own, not being a programmer or computer person, but I'm a bit wary of
proceeding further without advice.
I was trying to emerge some several files which had a dependency on
java-sdk-docs. Below is the message from emerge. More information will
follow.
!!! dev-java/java-sdk-docs-1.6.0-r1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.
* Please download jdk-6-doc.zip from
*
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/[EMAIL PROTECTED]
* (select English and agree to the licence) and place it in
/usr/portage/distfiles named as
* jdk-6-doc-r1.zip. Notice the r1. Because Sun changes the doc zip file
* without changing the filename, we have to resort to renaming to keep
* the md5sum verification working for existing and new downloads.
*
* If emerge fails because of a md5sum error it is possible that Sun
* has again changed the upstream release, try downloading the file
* again or a newer revision if available. Otherwise report this to
* http://bugs.gentoo.org/67266 and we will make a new revision.
* Fetch failed for 'dev-java/java-sdk-docs-1.6.0-r1'
* Messages for package dev-java/java-sdk-docs-1.6.0-r1:
* Fetch failed for 'dev-java/java-sdk-docs-1.6.0-r1
So, I downloaded the file, renamed it and put it where it told me to.
Then I found http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds and
I am trying to follow that.
I added PORTDIR_OVERLAY="/usr/local/portage /usr/portage/distfiles" to
/etc/make.conf The first because the wki said to, and the second because
that's where emerge's message told me to put the file I downloaded from
Sun.
I then added FEATURES="collision-protect ccache parallel-fetch" to
/etc/male.conf for safety, even though I have no idea what it does. I
then checked out features with emerge --info | grep FEATURES. It told me
that /usr/local/portage did not exist.
OK, so I created it. Now, that is where emerge told me to put the file,
but the fact that gentoo did not even create that directory gives me
pause.
Bottom line: I am being told I need this dependency, and I am not sure
how to proceed in creating my own Ebuild to install it.
Am I even in the right ballpark here?
Thanks,
Bo Grimes