aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
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:"