6.2 Checking for configure Errors

When it comes to building the packages with the configure script, output is usually directed to the terminal window, and can be at a very fast pace. If there is an error or warning that the configure script indicates, one may not see what it is exactly, as the information has already scrolled down.

Therefore, I suggest saving the configure script's output to a text file, using the utility tee. As the man page for this utility states:

tee - read from standard input and write to standard output and files

One may test out tee by running the following from the prompt:

# ls | tee directory_listing.txt

One will not only see the contents of the directory on the screen but it will also be stored in the file, directory_listing.txt.

For each configure script detailed in this document, it is usually best to pipe tee configure_output.txt, and after the configure script is finished, to double check the file configure_output.txt to verify that everything went through okay. I have used this method throughout the configuration examples that are listed.