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 /bin | |
| parent | 914a068dc8cc9f84188a4a8b194336c632744058 (diff) | |
| download | brew-1761ba66bfca0784d49de10bd684cc54d53fded8.tar.bz2 | |
Failures during ./configure should mention config.log.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -434,6 +434,13 @@ rescue BuildError => e # then replace that string with the following when the github api returns issues = issues_for_formula(formula_name) puts "These existing issues may help you:", *issues unless issues.empty? + if e.was_running_configure? + puts "It looks like an autotools configure failed." + puts "Consider re-running the install with '-vd' to keep 'config.log' around:" + puts " brew install -vd formula_name" + puts "Gist 'config.log' and any error output when reporting an issue." + end + puts puts "Consider running `brew doctor` if a large number of installs are failing." exit 1 rescue RuntimeError, SystemCallError => e |
