View previous topic :: View next topic |
Author |
Message |
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Fri Sep 28, 2007 2:24 pm Post subject: [Solved]Problems installing third Party ebuild |
|
|
Hello,
I am trying to install a third party ebuild called "Hardware4linux" ... I have thus far: Code: |
1. Added PORTAGE_DIR="/usr/local/poratge" in /etc/make.conf
2. Created a directory /usr/local/portage/sys-apps/hardware4linux
3. Downloaded then added the ebuild (hwreport-0.9.1.ebuild) to the directory ... /usr/local/portage/sys-apps/hardware4linux
4. Added the line "sys-aps/hwreport-0.9.1.ebuild" to /etc/portage/package.keywords
5. Then perform emerge hwreport-0.9.1.ebuild digest |
After step 5 ... I then get the following error: Code: |
Calculating dependencies /
!!! /usr/local/portage/sys-apps/hwreport-0.9.1.ebuild is not in a valid portage tree hierarchy or does not exist
|
Any suggestions??
Thanks
Last edited by NiceGuy on Fri Sep 28, 2007 3:04 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Fri Sep 28, 2007 2:28 pm Post subject: |
|
|
NiceGuy,
Your path Code: | /usr/local/portage/sys-apps/hwreport-0.9.1.ebuild | has a directoy missing.
Code: | /usr/local/portage/sys-apps/hwreport/hwreport-0.9.1.ebuild | should work _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Sep 28, 2007 2:29 pm Post subject: |
|
|
It should be PORTDIR_OVERLAY="/usr/local/portage" in make.conf, not PORTAGE_DIR (and I presume "poratge" was just a typo?). _________________ "You have to invite me in" |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Sep 28, 2007 2:31 pm Post subject: |
|
|
NeddySeagoon wrote: | NiceGuy,
Your path Code: | /usr/local/portage/sys-apps/hwreport-0.9.1.ebuild | has a directoy missing.
Code: | /usr/local/portage/sys-apps/hwreport/hwreport-0.9.1.ebuild | should work |
Bugger it, I missed that.
He actually created the right directory though. _________________ "You have to invite me in" |
|
Back to top |
|
|
jabol Apprentice
Joined: 05 Oct 2005 Posts: 269
|
Posted: Fri Sep 28, 2007 2:38 pm Post subject: |
|
|
Hopeless wrote: | He actually created the right directory though. | Yeah. hardware4linux... for hwlinux ebuild.
the path to the ebuild must be as follows ${...}/cate-gory/${name}/${name}-${version}.ebuild
where ${...} should be (but it's not necessary) int PORTDIR_OVERLAY. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Sep 28, 2007 2:45 pm Post subject: |
|
|
jabol wrote: | Hopeless wrote: | He actually created the right directory though. | Yeah. hardware4linux... for hwlinux ebuild.
the path to the ebuild must be as follows ${...}/cate-gory/${name}/${name}-${version}.ebuild
where ${...} should be (but it's not necessary) int PORTDIR_OVERLAY. |
Bleh.
I need to go away and learn to bloody read... _________________ "You have to invite me in" |
|
Back to top |
|
|
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Fri Sep 28, 2007 3:03 pm Post subject: |
|
|
Hello Everyone,
I just recently changed the directory name from Code: |
/usr/local/portage/sys-aps/hardware4linux/hwreport0.9.1.ebuild ... to ... /usr/local/portage/sys-aps/hwreport/hwreport0.9.1.ebuild |
And additionally My step 5 appears to incorrect ... should be: Code: |
ebuild hwreport09.1.ebuild digest ... not .. emerge hwreport-0.9.1.ebuild digest |
Regardless, made both changes and have successfully emerged the hwreport utility
Thanks to all for your speedy responses. |
|
Back to top |
|
|
|