Search This Blog

Monday, March 21, 2011

capturing messages from configure and make

To capture the output of the configure and make steps you can use the script command or the following technique if using a Bourne style shell:
shell$ ./configure {options} 2>&1 | tee config.out
shell$ make all 2>&1              | tee make.out
shell$ make install 2>&1          | tee make-install.out
or if using a csh style shell:
shell% ./configure {options} |& tee config.out
shell% make all              |& tee make.out
shell% make install          |& tee make-install.out

No comments:

Labels

Blog Archive