//View Tip #830
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Last time, I had to install a package with a configure Script. There are a lot of parameters to adjust the installation. Unfortunately the configure doesn't end with success. A dubios error message appears and I don't find out what's wrong.
Also the modern oracle 'google' doesen't give a hint. But after hours I find a quick and easy solution:

sh -x ./configure ... configure_options ...

First there is a long rolling of letters, but afterwards, when the error appears, you can easy find out what the mistake is, because the debug modus tells you.


View Comments »




Comments 

Add your comment

Comments are currently disabled
Bob
I use this one a lot:

./Configure [...] 2>&1 | tee file.txt

this will capture all output including stderr into file.txt.  Using tee allows you to see what's happening on the screen too.
Posted 2009-06-19 20:56:44

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit