Skip to content

Instantly share code, notes, and snippets.

@kevinclark
Created May 10, 2011 09:10
Show Gist options
  • Save kevinclark/964140 to your computer and use it in GitHub Desktop.
Save kevinclark/964140 to your computer and use it in GitHub Desktop.
[/Users/kevinc] ➔ sudo brew install zookeeper --python --gcc
Password:
==> Downloading http://www.alliedquotes.com/mirrors/apache/zookeeper/zookeeper-3.3.3/zookeeper-3.3.3.tar.gz
File already downloaded and cached to /Library/Caches/Homebrew
==> ./configure --prefix=/usr/local/Cellar/zookeeper/3.3.3 --disable-dependency-tracking --without-cppunit
==> make install
==> python src/python/setup.py build
running build
running build_ext
building 'zookeeper' extension
creating build
creating build/temp.macosx-10.6-universal-2.6
creating build/temp.macosx-10.6-universal-2.6/src
creating build/temp.macosx-10.6-universal-2.6/src/c
/usr/bin/cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -O3 -march=core2 -msse4.1 -w -pipe -arch i386 -arch ppc -arch x86_64 -pipe -I../../..//src/c/include -I../../..//src/c/generated -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/c/zookeeper.c -o build/temp.macosx-10.6-universal-2.6/src/c/zookeeper.o
llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2': execvp: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//ccSRWr7F.out
error: command '/usr/bin/cc' failed with exit status 255
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/zookeeper.rb#L61
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: f81d5f88c804652d8bd1b233d3929dd57f46ca68
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.6.6
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0
GCC-4.0: build 5494
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/bin/c++-4.2
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failed executing: python src/python/setup.py build
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
[/Users/kevinc] ➔ ll /usr/bin/cc
lrwxr-xr-x 1 root wheel 32 May 9 23:57 /usr/bin/cc@ -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment