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

Tarball not installing on mac osx 10.9.2 #2969

Closed
RachelBunder opened this issue Apr 10, 2014 · 4 comments
Closed

Tarball not installing on mac osx 10.9.2 #2969

RachelBunder opened this issue Apr 10, 2014 · 4 comments

Comments

@RachelBunder
Copy link

It exists with this error message:

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

This seems to be problem with the recently updated xcode. A temporary solution is given here (http://kaspermunck.github.io/2014/03/fixing-clang-error/).

I can still install using the DMG: this bug is currently stopping prettyplot from installing

@tacaswell tacaswell added this to the v1.4.0 milestone Apr 19, 2014
@tacaswell
Copy link
Member

Can one of the mac based devs take a look at this?

@cimarronm
Copy link
Contributor

This is not an issue with matplotlib. Matplotlib does not set any compilation option like that. @RachelBunder, I imagine you are using the python distribution which came with osx. The problem is that they deprecated that build option and then made it an error in the latest version of clang but did not rebuild python without it. :-(

I think your best bet is to install a version of python (either from the installation binaries on python.org) or by using homebrew.

If you do want the standard install to work, you must edit /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.py and search for all instances of -mno-fused-madd and remove them. Then remove _sysconfigdata.pyo and _sysconfigdata.pyc files under the same directory and I think it should work for you.

@tacaswell tacaswell removed this from the v1.4.0 milestone Apr 20, 2014
@tacaswell
Copy link
Member

Closing as this seems to be an upstream issue.

@RachelBunder
Copy link
Author

Thanks all. I ended up removing all instances of -mno-fused-madd from System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.py . Installing a version of python from python.org just broke more stuff (couldn't find packages it needed).

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

No branches or pull requests

3 participants