Installing Python's redis/hiredis on OS X Mavericks
There seem to be some incompatibilities of hiredis
with current versions of Clang, thus resulting in the build failing with errors such as
clang: error: unknown argument: '-mno-fused-madd'
Since I didn't have much time to debug the issue I simply resorted to installing apple-gcc4.2
:
brew install apple-gcc42
export CC=/usr/local/bin/gcc-4.2
export LD=/usr/local/bin/gcc-4.2
pip install hiredis
Written by Lucas
Related protips
1 Response
The recipe has been moved into a different area of homebrew. On Yosemite the corresponding command is:
brew install homebrew/dupes/apple-gcc42
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#