Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can you manually compile ebuilds?
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
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Mon Apr 29, 2002 9:30 am    Post subject: can you manually compile ebuilds? Reply with quote

I want to get the tarball from the ebuild and manually compile it.

Is this possible?

Cheers,
Ryan
Back to top
View user's profile Send private message
PaperCrane
n00b
n00b


Joined: 11 Apr 2002
Posts: 25
Location: Nova Scotia

PostPosted: Mon Apr 29, 2002 12:18 pm    Post subject: Reply with quote

Code:

emerge --fetchonly package

Your soure tarball is now in /usr/portage/distfiles. You might want to add --oneshot to that to keep it from being added to your favourites list.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Apr 29, 2002 12:59 pm    Post subject: Reply with quote

But then one has to ask the question, why?

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Apr 29, 2002 1:28 pm    Post subject: Reply with quote

From the Gentoo FAQ:

Quote:
I want to perform the ./configure step myself. Can I?

Yes, but it is not trivial. First do man ebuild followed by ebuild foo-x.y.z.ebuild unpack. Then cd to /var/tmp/portage/foo-x.y.z/work. You can manually perform the ./configure and make steps yourself (you'll have to do both, since Portage does not separate the configure and build steps). To have Portage finish the installation (so that you can easily remove it later, should you desire to do so, and it will be registered in Portage as a possible dependency) you first need to touch /var/tmp/portage/foo-x.y.z/.compiled (tricking Portage into thinking that ebuild foo-x.y.z.ebuild compile has completed), followed by ebuild foo-x.y.z.ebuild merge.

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Mon Apr 29, 2002 10:34 pm    Post subject: The why is simple Reply with quote

I don't believe it will work, it just seems to be doing the same thing emerge does manually, but I'm willing to try as all else is failing...

See the following threads for "why":

On the nVidia linux forum:
http://www.nvnews.net/forum/showthread.php?s=f7414552d7600c839dd79e20acdeb8fa&threadid=14029

On the gentoo forums:
https://forums.gentoo.org/viewtopic.php?p=4869#4869


Cheers,
Ryan
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


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

PostPosted: Mon Apr 29, 2002 11:19 pm    Post subject: Reply with quote

Quote:
it just seems to be doing the same thing emerge does manually


It is. With one key difference: you can tell ./configure whatever you need to. Thus, it acts like downloading and compiling that piece of software, except with dependency checking and all kinds of other nifty stuff.
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Tue Apr 30, 2002 12:47 am    Post subject: ok Reply with quote

So do you think that manually compiling using the nVidia instructions will fix my problem (as outlined in the above links?)

Thanks.
Ryan

PS, several hours will pass before I can try, as I'm at work.
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Tue Apr 30, 2002 10:54 am    Post subject: Reply with quote

results

Code:
>>> emerge media-video/nvidia-kernel-1.0.2880 to /


I don't know where the file was downloaded to.

It ISN'T in /usr/portage/distfies as indicated above.

Any idea?

Thanks.
Ryan
Back to top
View user's profile Send private message
eyevee99
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 239

PostPosted: Tue Apr 30, 2002 12:15 pm    Post subject: I installed lynx Reply with quote

I installed lynx and downloaded the tars and manually compiled them.

Followed the instructions perfectly.

Even tried the "make SYSINCLUDE=/usr/src/linux/kernel/include" version

Still doesn't work.

Gives exactly the same error.

:(
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