Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Problems installing third Party ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NiceGuy
Guru
Guru


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Fri Sep 28, 2007 2:24 pm    Post subject: [Solved]Problems installing third Party ebuild Reply with quote

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


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Fri Sep 28, 2007 2:28 pm    Post subject: Reply with quote

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


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Sep 28, 2007 2:29 pm    Post subject: Reply with quote

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


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Sep 28, 2007 2:31 pm    Post subject: Reply with quote

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.

:oops:

He actually created the right directory though.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
jabol
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 269

PostPosted: Fri Sep 28, 2007 2:38 pm    Post subject: Reply with quote

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


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Sep 28, 2007 2:45 pm    Post subject: Reply with quote

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


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Fri Sep 28, 2007 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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