Skip to content

Instantly share code, notes, and snippets.

@cartazio
Created January 21, 2012 23:03
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 cartazio/1654440 to your computer and use it in GitHub Desktop.
Save cartazio/1654440 to your computer and use it in GitHub Desktop.
gnutls upgrade failure
==> Upgrading gnutls
==> Downloading http://ftpmirror.gnu.org/gnutls/gnutls-2.12.16.tar.bz2
File already downloaded in /Users/carter/Library/Caches/Homebrew
/usr/bin/tar xf /Users/carter/Library/Caches/Homebrew/gnutls-2.12.16.tar.bz2
==> ./configure --disable-debug --disable-dependency-tracking --disable-guile --disable-static --prefix=/usr/local/Cellar/gnutls/2.12.16 --with-libgcrypt --without-p11-kit
./configure --disable-debug --disable-dependency-tracking --disable-guile --disable-static --prefix=/usr/local/Cellar/gnutls/2.12.16 --with-libgcrypt --without-p11-kit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/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 for compilation programs...
checking for gcc... /usr/bin/llvm-gcc
checking whether the C compiler works... no
configure: error: in `/private/tmp/homebrew-gnutls-2.12.16-FE8v/gnutls-2.12.16':
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/gnutls.rb#L19
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 41470cd0a34e1d2218a98bdfc1484132682c17dd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.2
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.2.1
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2 -msse4 -arch i386 -arch x86_64
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4 -arch i386 -arch x86_64
LDFLAGS: -arch i386 -arch x86_64 -ltasn1
MAKEFLAGS: -j4
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --disable-guile --disable-static --prefix=/usr/local/Cellar/gnutls/2.12.16 --with-libgcrypt --without-p11-kit
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/8737
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
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