aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-03 08:44:41 -0700
committerAdam Vandenberg2010-06-10 12:57:51 -0700
commit1761ba66bfca0784d49de10bd684cc54d53fded8 (patch)
treecd8ce5cb705d7e53a504262cc1914bb532d98be5 /Library/Homebrew/formula.rb
parent914a068dc8cc9f84188a4a8b194336c632744058 (diff)
downloadbrew-1761ba66bfca0784d49de10bd684cc54d53fded8.tar.bz2
Failures during ./configure should mention config.log.
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb6
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:"