diff options
| author | Adam Vandenberg | 2010-04-03 08:44:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 12:57:51 -0700 |
| commit | 1761ba66bfca0784d49de10bd684cc54d53fded8 (patch) | |
| tree | cd8ce5cb705d7e53a504262cc1914bb532d98be5 /Library/Homebrew/formula.rb | |
| parent | 914a068dc8cc9f84188a4a8b194336c632744058 (diff) | |
| download | brew-1761ba66bfca0784d49de10bd684cc54d53fded8.tar.bz2 | |
Failures during ./configure should mention config.log.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 284161853..2d25d248b 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -205,6 +205,12 @@ class Formula onoe e.inspect puts e.backtrace ohai "Rescuing build..." + if (e.was_running_configure? rescue false) and File.exist? 'config.log' + puts "It looks like an autotools configure failed." + puts "Gist 'config.log' and any error output when reporting an issue." + puts + end + puts "When you exit this shell Homebrew will attempt to finalise the installation." puts "If nothing is installed or the shell exits with a non-zero error code," puts "Homebrew will abort. The installation prefix is:" |
