View previous topic :: View next topic |
Author |
Message |
eyevee99 Apprentice
Joined: 16 Apr 2002 Posts: 239
|
Posted: Mon Apr 29, 2002 9:30 am Post subject: can you manually compile ebuilds? |
|
|
I want to get the tarball from the ebuild and manually compile it.
Is this possible?
Cheers,
Ryan |
|
Back to top |
|
|
PaperCrane n00b
Joined: 11 Apr 2002 Posts: 25 Location: Nova Scotia
|
Posted: Mon Apr 29, 2002 12:18 pm Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Apr 29, 2002 12:59 pm Post subject: |
|
|
But then one has to ask the question, why?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Mon Apr 29, 2002 1:28 pm Post subject: |
|
|
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 |
|
|
eyevee99 Apprentice
Joined: 16 Apr 2002 Posts: 239
|
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Apr 29, 2002 11:19 pm Post subject: |
|
|
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 |
|
|
eyevee99 Apprentice
Joined: 16 Apr 2002 Posts: 239
|
Posted: Tue Apr 30, 2002 12:47 am Post subject: ok |
|
|
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 |
|
|
eyevee99 Apprentice
Joined: 16 Apr 2002 Posts: 239
|
Posted: Tue Apr 30, 2002 10:54 am Post subject: |
|
|
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 |
|
|
eyevee99 Apprentice
Joined: 16 Apr 2002 Posts: 239
|
Posted: Tue Apr 30, 2002 12:15 pm Post subject: I installed lynx |
|
|
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 |
|
|
|