Add installation note about OSX compilation error

Fixes PYTHON-65
This commit is contained in:
Tyler Hobbs
2014-05-09 14:40:02 -05:00
parent b3510d9fcf
commit fca2d411b7

View File

@@ -19,6 +19,16 @@ the same time as the driver itself. To install the driver::
You can use ``pip install --pre cassandra-driver`` if you need to install a beta version.
OSX Installation Error
^^^^^^^^^^^^^^^^^^^^^^
If you're installing on OSX and have XCode 5.1 installed, you may see an error like this:
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
To fix this, re-run the installation with an extra compilation flag:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install cassandra-driver
Manual Installation
-------------------
You can always install the driver directly from a source checkout or tarball.