From 1761ba66bfca0784d49de10bd684cc54d53fded8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 3 Apr 2010 08:44:41 -0700 Subject: Failures during ./configure should mention config.log. --- Library/Homebrew/formula.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Homebrew/formula.rb') 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:" -- cgit v1.2.3