Skip to content

Instantly share code, notes, and snippets.

@leepa
Created August 16, 2010 21:28
Show Gist options
  • Select an option

  • Save leepa/527780 to your computer and use it in GitHub Desktop.

Select an option

Save leepa/527780 to your computer and use it in GitHub Desktop.
➜ local git:(master) pwd
/usr/local
➜ local git:(master) brew install libgpg-error
Formula already installed: /usr/local/Cellar/libgpg-error/1.8
➜ local git:(master) brew install libgcrypt
Formula already installed: /usr/local/Cellar/libgcrypt/1.4.5
➜ local git:(master) brew install gnutls
==> Downloading http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.10.1.tar.bz2
File already downloaded and cached to /Users/lpackham/Library/Caches/Homebrew
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gnutls/2.10.1 --disable-guile
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/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/cc... none
checking whether ln -s works... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gaa... no
configure: WARNING: ***
*** GAA was not found. It is only needed if you wish to modify
*** the source code or command-line description files. In this case,
*** you may want to get it from http://gaa.sourceforge.net/ and
*** read doc/README.gaa.
***
checking for ranlib... ranlib
checking build system type... x86_64-apple-darwin10.4.0
checking host system type... x86_64-apple-darwin10.4.0
checking how to run the C preprocessor... /usr/bin/cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for /usr/bin/cc option to accept ISO C99... -std=gnu99
checking for /usr/bin/cc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
configure: autobuild project... GnuTLS
configure: autobuild revision... 2.10.1
configure: autobuild hostname... leembp2009.local
configure: autobuild timestamp... 20100816T212815Z
checking for inline... inline
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... yes
checking dependency style of /usr/bin/c++... none
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for shared library run path origin... done
checking for libgcrypt... no
configure: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***
Exit status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/gnutls.rb#L13
==> Environment
HOMEBREW_VERSION: 0.7
HEAD: 52629b2bece9b54450422099c8defb0e1563098c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/lpackham/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.4
Kernel Architecture: i386
Ruby: 1.8.7-174
GCC-4.0: build 5494 (5493 or newer recommended)
GCC-4.2: build 5664 (5659 or newer recommended)
LLVM: build 2326 (2207 or newer recommended)
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failure while executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gnutls/2.10.1 --disable-guile
Please report this bug at http://github.com/mxcl/homebrew/issues
These existing issues may help you:
http://github.com/mxcl/homebrew/issues/#issue/2140
It looks like an autotools configure failed.
Consider re-running the install with '-vd' to keep 'config.log' around:
brew install -vd gnutls
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