Skip to content

Instantly share code, notes, and snippets.

@isa
Created August 11, 2011 08:30
Show Gist options
  • Save isa/1139163 to your computer and use it in GitHub Desktop.
Save isa/1139163 to your computer and use it in GitHub Desktop.
Brew Readline Installation
$ brew install -v readline
==> Downloading ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz
File already downloaded in /Users/isa/Library/Caches/Homebrew
/usr/bin/tar xf /Users/isa/Library/Caches/Homebrew/readline-6.2.1.tar.gz
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.7) ftp://ftp.cwru.edu/pub/bash/readline-6.2-patches/readline62-001 -o 001-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%==> Patching
/usr/bin/patch -f -p0 -i 001-homebrew.diff
patching file vi_mode.c
patching file callback.c
==> ./configure --prefix=/usr/local/Cellar/readline/6.2.1 --mandir=/usr/local/Cellar/readline/6.2.1/share/man --infodir=/usr/local/Cellar/readline/6.2.1/share/info --enable-multibyte
./configure --prefix=/usr/local/Cellar/readline/6.2.1 --mandir=/usr/local/Cellar/readline/6.2.1/share/man --infodir=/usr/local/Cellar/readline/6.2.1/share/info --enable-multibyte
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
Beginning configuration for readline-6.2 for i386-apple-darwin11.0.0
checking whether make sets $(MAKE)... no
checking for gcc... /usr/bin/cc
checking for C compiler default output file name...
configure: error: in `/private/tmp/homebrew-readline-6.2.1-KtNU/readline-6.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/readline.rb#L26
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 548514ee398d0e6365e71f27cea3b279d09fcb38
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
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 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/c++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe -arch i386 -arch x86_64
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe -arch i386 -arch x86_64
LDFLAGS: -arch i386 -arch x86_64
MAKEFLAGS: -j2
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/readline/6.2.1 --mandir=/usr/local/Cellar/readline/6.2.1/share/man --infodir=/usr/local/Cellar/readline/6.2.1/share/info --enable-multibyte
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/6055
It looks like an autotools configure failed.
Consider re-running the install with '-vd' to keep 'config.log' around:
brew install -vd readline
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.
isa in ~
$
$ brew doctor
Your OS X is ripe for brewing.
Any troubles you may be experiencing are likely purely psychosomatic.
isa in ~
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment