Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for users who cannot install on Mac due to XCode 5.1 #4

Closed
jamarparris opened this issue Apr 13, 2014 · 2 comments
Closed

Fix for users who cannot install on Mac due to XCode 5.1 #4

jamarparris opened this issue Apr 13, 2014 · 2 comments

Comments

@jamarparris
Copy link

The Apple LLVM compiler in Xcode 5.1 treats unrecognized command-line options as errors. This issue has been seen when building both Python native extensions and Ruby Gems, where some invalid compiler options are currently specified.

Details here: http://kaspermunck.github.io/2014/03/fixing-clang-error/

Temporary fix is to pass this argument "ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future" along with the pip install python-bcrypt command.

@corydolphin
Copy link
Owner

@jamarparris can you please test this branch #5 for me? I added the flags suggested. I have Xcode5.1 installed and do not seem to have the same issue as you are experiencing.

@jamarparris
Copy link
Author

The way that I was able to get my pip install to work was to run this ->

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install python-bcrypt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants