well if you'd like to do piping and get output as a file, then just
./configure > error.txt
or, if you wish to only grab the lines which include the letters "rror" (like Error or error, but too "horror"
hehe) then do
./configure | grep rror > error.txt
that should do, I think...
try and see