Lines 518-535
Link Here
|
518 |
|
518 |
|
519 |
<section> |
519 |
<section> |
520 |
<title>I want to perform the <c>./configure</c> step myself. Can I?</title> |
520 |
<title>I want to perform the <c>./configure</c> step myself. Can I?</title> |
521 |
<body><p> |
521 |
<body> |
522 |
Yes, but it is not trivial. First do <c>man ebuild</c> followed by |
522 |
<p> |
523 |
<c>ebuild foo-x.y.z.ebuild unpack</c>. Then <c>cd</c> to |
523 |
Yes, but it is not trivial, and the next method only works when it is a simple |
524 |
<path>/var/tmp/portage/foo-x.y.z/work</path>. You can manually perform |
524 |
ebuild (i.e. just <c>./configure</c> and <c>make && make install</c>). |
525 |
the <c>./configure</c> and <c>make</c> steps yourself (you'll have to do |
525 |
Be sure to read the ebuild itself to see how Gentoo handles it. |
526 |
both, since Portage does not separate the configure and build steps). To |
526 |
</p> |
527 |
have Portage finish the installation (so that you can easily remove it later, |
527 |
|
528 |
should you desire to do so, and it will be registered in Portage as a possible |
528 |
<p> |
529 |
dependency) you first need to <c>touch /var/tmp/portage/foo-x.y.z/.compiled</c> |
529 |
Start with unpacking the ebuild: <c>ebuild |
530 |
(tricking Portage into thinking that <c>ebuild foo-x.y.z.ebuild compile</c> has |
530 |
/usr/portage/<category>/<package>/<ebuild> unpack</c>. |
531 |
completed), followed by <c>ebuild foo-x.y.z.ebuild merge</c>. |
531 |
</p> |
532 |
</p></body> |
532 |
|
|
|
533 |
<p> |
534 |
Next, go to <path>/var/tmp/portage/<package>-<version>/work</path>. |
535 |
Inside it you'll find the unpacked sources. Execute the steps you need to |
536 |
perform to configure and compile the package. |
537 |
</p> |
538 |
|
539 |
<p> |
540 |
When finished, execute <c>touch |
541 |
/var/tmp/portage/<package>-<version>/.compiled</c> to trick Portage |
542 |
into thinking it configured and compiled the package. Then finish up with |
543 |
<c>ebuild /usr/portage/<category>/<package>/<ebuild> |
544 |
merge</c>. |
545 |
</p> |
546 |
|
547 |
</body> |
533 |
</section> |
548 |
</section> |
534 |
|
549 |
|
535 |
<section> |
550 |
<section> |