This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 286
pip install huxley
fails on mac
#53
Comments
having the same problem, the error looks like this: cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -IlibImaging -I/Users/[...]/.virtualenvs/[...]/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _imaging.c -o build/temp.macosx-10.9-intel-2.6/_imaging.o
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
error: command 'cc' failed with exit status 1 It appears to be related to this: http://kaspermunck.github.io/2014/03/fixing-clang-error/. I haven't tried the fix from the article yet. |
The following (from that article) works: sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install huxley In addition, I had to symlink the freetype library: ln -s /usr/local/include/freetype2 /usr/local/include/freetype |
+1 symlinking the freetype library fixed the problem for me |
Just symlinking worked for me as well. 👍 thanks @saranrapjs |
ln -s /usr/local/include/freetype2 /usr/local/include/freetype fixed my issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System:
Darwin 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
full install log:
http://fpaste.org/85382/
The text was updated successfully, but these errors were encountered: