Skip to content

Instantly share code, notes, and snippets.

@arlolra
Created March 7, 2011 00:15
Show Gist options
  • Save arlolra/857896 to your computer and use it in GitHub Desktop.
Save arlolra/857896 to your computer and use it in GitHub Desktop.
localhost:Formula arlolra$ brew install hiredis
==> Downloading https://github.com/antirez/hiredis/tarball/v0.9.2
File already downloaded and cached to /Users/arlolra/Library/Caches/Homebrew
==> make PREFIX=/usr/local/Cellar/hiredis/0.9.2
/usr/bin/cc -c -O3 -march=prescott -mfpmath=sse -w -pipe -arch i386 -arch x86_64 -g -ggdb net.c
/usr/bin/cc -c -O3 -march=prescott -mfpmath=sse -w -pipe -arch i386 -arch x86_64 -g -ggdb hiredis.c
net.c:1: error: CPU you selected does not support x86-64 instruction set
net.c:1: error: CPU you selected does not support x86-64 instruction set
lipo: can't open input file: /var/folders/8y/8yy3JdcHHdS8xy+JFV+XL++++TI/-Tmp-//cc78zeRv.out (No such file or directory)
make: *** [net.o] Error 1
make: *** Waiting for unfinished jobs....
hiredis.c:1: error: CPU you selected does not support x86-64 instruction set
hiredis.c:1: error: CPU you selected does not support x86-64 instruction set
lipo: can't open input file: /var/folders/8y/8yy3JdcHHdS8xy+JFV+XL++++TI/-Tmp-//ccG7f1pI.out (No such file or directory)
make: *** [hiredis.o] Error 1
Exit status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/hiredis.rb#L12
==> Environment
HOMEBREW_VERSION: 0.7.1
HEAD: 420eb6a744cb328465592a2cc0f2ca4a48cf511a
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 32-bit core
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.5
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2333
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=prescott -mfpmath=sse -w -pipe
CXXFLAGS: -O3 -march=prescott -mfpmath=sse -w -pipe
MAKEFLAGS: -j2
Error: Failure while executing: make PREFIX=/usr/local/Cellar/hiredis/0.9.2
Please follow the instructions to report this bug at:
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment