Skip to content

Instantly share code, notes, and snippets.

@fizzy33
Created July 5, 2012 23:39
Show Gist options
  • Save fizzy33/3057146 to your computer and use it in GitHub Desktop.
Save fizzy33/3057146 to your computer and use it in GitHub Desktop.
$ brew install wget
==> Downloading http://ftpmirror.gnu.org/wget/wget-1.13.4.tar.bz2
Already downloaded: /Library/Caches/Homebrew/wget-1.13.4.tar.bz2
==> ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.13.4 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable-iri
configure: configuring for GNU Wget 1.13.4
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 build system type... x86_64-apple-darwin11.4.1
checking host system type... x86_64-apple-darwin11.4.1
checking for gcc... /usr/bin/clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/homebrew-wget-1.13.4-XRiL/wget-1.13.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
config.log was copied to /Users/glen/Library/Logs/Homebrew
==> Build Environment
CPU: 8-core 64-bit dunno
OS X: 10.7.4-x86_64
Xcode: 4.3.3
X11: 2.6.4 @ /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j8
Error: Failed executing: ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.13.4 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable-iri (wget.rb:33)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/12432
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
If you report the issue please paste the config.log here:
http://gist.github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment