Skip to content

Instantly share code, notes, and snippets.

@AllanD
Created August 9, 2011 19:24
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 AllanD/1134937 to your computer and use it in GitHub Desktop.
Save AllanD/1134937 to your computer and use it in GitHub Desktop.
~/Workspace  brew install wget
Warning: It appears you have Macports or Fink installed
Software installed with other package managers causes known problems for
Homebrew. If formula fail to build uninstall Macports/Fink and reinstall any
affected formula.
==> Downloading http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/openssl.c
==> ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.12 --disable-iri
configure: configuring for GNU Wget 1.12
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)... no
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking for gcc... /usr/bin/cc
checking for C compiler default output file name...
configure: error: in `/private/tmp/homebrew-wget-1.12-jBGZ/wget-1.12':
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/wget.rb#L26
==> Environment
sh: line 1: 5269 Trace/BPT trap: 5 git rev-parse --verify HEAD 2> /dev/null
HOMEBREW_VERSION: 0.8
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit dunno
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:
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2335
MacPorts or Fink? /opt/local/bin/port
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: -j8
Error: Failed executing: ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.12 --disable-iri
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/3153
https://github.com/mxcl/homebrew/issues/#issue/5003
https://github.com/mxcl/homebrew/issues/#issue/5634
https://github.com/mxcl/homebrew/issues/#issue/6055
https://github.com/mxcl/homebrew/issues/#issue/6103
https://github.com/mxcl/homebrew/issues/#issue/6194
https://github.com/mxcl/homebrew/issues/#issue/6255
https://github.com/mxcl/homebrew/issues/#issue/6771
https://github.com/mxcl/homebrew/issues/#issue/6819
https://github.com/mxcl/homebrew/issues/#issue/6886
It looks like an autotools configure failed.
Consider re-running the install with '-vd' to keep 'config.log' around:
brew install -vd wget
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.
~/Workspace 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment