Skip to content

Instantly share code, notes, and snippets.

@franciscolourenco
Created August 1, 2011 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franciscolourenco/1118600 to your computer and use it in GitHub Desktop.
Save franciscolourenco/1118600 to your computer and use it in GitHub Desktop.
brew install -v libassuan
/private/tmp/homebrew-libassuan-2.0.2-UXuo> brew install -v libassuan user@unknown
==> Downloading ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.0.2.tar.bz2
File already downloaded in /Users/user/Library/Caches/Homebrew
/usr/bin/tar xf /Users/user/Library/Caches/Homebrew/libassuan-2.0.2.tar.bz2
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libassuan/2.0.2
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libassuan/2.0.2
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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin11.0.1
checking host system type... i386-apple-darwin11.0.1
configure: autobuild project... libassuan
configure: autobuild revision... 2.0.2
configure: autobuild hostname... unknown
configure: autobuild timestamp... 20110801-183625
checking for style of include used by make... GNU
checking for gcc... /usr/bin/cc
checking whether the C compiler works... no
configure: error: in `/private/tmp/homebrew-libassuan-2.0.2-ULMs/libassuan-2.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> Exit Status: 77
http://github.com/mxcl/homebrew/blob/master/Library/Formula/libassuan.rb#L11
==> Environment
/Developer/usr/bin/gcc
HOMEBREW_VERSION: 0.8
HEAD: 1b464d10ffd353fec80017d9823048e06e567f97
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit sandybridge
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 401 (5664 or newer recommended)
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j4
Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libassuan/2.0.2
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/6641
It looks like an autotools configure failed.
Consider re-running the install with '-vd' to keep 'config.log' around:
brew install -vd libassuan
Gist 'config.log' and any error output when reporting an issue.
Remember to include your config information: brew --config
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment