|
|
%% Robert Hartmann <Robert.Hartmann@xxxxxxxxxxxxxxx> writes:
rh> 9) make -w 2>&1 | tee make.out
rh> After 24h hours without coming to an end I stopped make.
rh> The last two lines (line 1069 and 1070) in make.out are
rh> updating cache ../config.cache
rh> configure: creating ./config.status
rh> It probably hangs somewhere there, but I don't know why.
rh> Anyone has an idea?
Almost certainly something that make is running is asking you a
question, but since you are buffering the output through the pipe and
into tee, most likely in line-buffered mode, the question is not being
printed since it doesn't end in a newline.
So, it's just sitting there waiting for you to answer, for 24
hours... or as long as you want to wait :-). Once you do, it will print
both the question and your response :-/.
Either don't preserve the log at all, or use something like script
instead of pipe to tee. script uses a pty as stdout, so you don't run
into these kinds of issues.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@xxxxxxx> Find some GNU make tips at:
http://www.gnu.org make.paulandlesley.org">http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
|
|