Last Updated: February 25, 2016
·
1.189K
· x3ro

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

1 Response
Add your 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 ·