View previous topic :: View next topic |
Author |
Message |
konstk Tux's lil' helper
Joined: 13 Aug 2002 Posts: 75
|
Posted: Sat Sep 28, 2002 1:50 am Post subject: gentoo needs compile logging |
|
|
It would help in tracking down those compile bugs for those users who go beyond the basic portage ebuilds. |
|
Back to top |
|
|
keef n00b
Joined: 02 Jul 2002 Posts: 45 Location: Third Stone from the Sun
|
Posted: Sat Sep 28, 2002 10:45 pm Post subject: |
|
|
if you want to log the emerge just do this:
Code: |
emerge <options> <package> &> emerge.log &
tail -f emerge.log
Example:
emerge -u world &> emerge.log &
tail -f emerge.log
|
Then just Ctrl-C to end the tail process when emerge completes. You will have the complete log of the emerge in 'emerge.log'.
Last edited by keef on Sat Sep 28, 2002 10:48 pm; edited 1 time in total |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Sep 28, 2002 10:46 pm Post subject: |
|
|
How is this better than just using tee? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
keef n00b
Joined: 02 Jul 2002 Posts: 45 Location: Third Stone from the Sun
|
Posted: Sat Sep 28, 2002 10:49 pm Post subject: |
|
|
Did I say it was better than tee? I don't see that in my post.
Its just 'a way' of doing it. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Sep 28, 2002 11:04 pm Post subject: |
|
|
IMO, doing this is worse than tee, because when emerge is still a foreground process you can Ctrl-C or Ctrl-Z it. This way you would have to terminate tail , fg [x], and Ctrl-_ it. Far slower if you notice the autocleaning is about to remove a package you don't want it to... _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
keef n00b
Joined: 02 Jul 2002 Posts: 45 Location: Third Stone from the Sun
|
Posted: Sat Sep 28, 2002 11:35 pm Post subject: |
|
|
If you need hair trigger Ctrl-C, etc. control of your emerge than tee is for you I guess. I've just always done it with tail if I needed a log.
To each his own. |
|
Back to top |
|
|
|