Skip to content

Instantly share code, notes, and snippets.

@kevinclark
Created May 10, 2011 03:31
Show Gist options
  • Save kevinclark/963855 to your computer and use it in GitHub Desktop.
Save kevinclark/963855 to your computer and use it in GitHub Desktop.
[local /Library/Formula (master)] ➔ sudo brew install zookeeper --python
==> 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
cc1: error: unrecognized command line option "-march=core2"
cc1: error: unrecognized command line option "-msse4.1"
lipo: can't open input file: /var/tmp//ccXaS8M5.out (No such file or directory)
error: command '/usr/bin/cc' failed with exit status 1
==> 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: 3.2.4
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2326
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: Failed executing: python src/python/setup.py build
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment