Skip to content

Instantly share code, notes, and snippets.

@MaxPower15
Created April 15, 2012 21:07
Show Gist options
  • Save MaxPower15/2394818 to your computer and use it in GitHub Desktop.
Save MaxPower15/2394818 to your computer and use it in GitHub Desktop.
Output of brew install -v libevent
~$ brew install -v libevent
==> Downloading https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz
Already downloaded: /Users/maxschnur/Library/Caches/Homebrew/libevent-2.0.17.tar.gz
/usr/bin/tar xf /Users/maxschnur/Library/Caches/Homebrew/libevent-2.0.17.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libevent/2.0.17
./configure --prefix=/usr/local/Cellar/libevent/2.0.17
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/homebrew-libevent-2.0.17-zpNG/libevent-2.0.17-stable':
configure: error: C compiler cannot create executables
See `config.log' for more details
config.log was copied to /Users/maxschnur/Library/Logs/Homebrew
==> Exit Status: 77
https://github.com/mxcl/master/blob/master/Library/Formula/libevent.rb#L23
==> Build Environment
CPU: 8-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.3.2
CC: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CXX: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ => /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
LD: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/libevent/2.0.17 (libevent.rb:23)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/11027
https://github.com/mxcl/homebrew/issues/11172
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment