gcc cython compilation error in OSX 10.10
Dear all,
when trying to use cython in the notebook I get the following gcc-error:
error: unknown value '10.10' of -mmacosx-version-min
error: command 'gcc' failed with exit status 1
I would greatly appreciate any help and thank you in advance.
Possibly (but probably not) related: https://github.com/sagemath/sagenb/issues/260
It would be really important to know exactly which version of Sage you are using and what compiler options you have set. Probably this is resolved in the latest rc of Sage 6.4, which does now support Yosemite.
Thank you for your comments. I am using Sage version 6.3, released 2014-08-10, and have recently installed gcc4.9 via macport and set it to default using gcc_select. Hope that is the relevant information.
Looks like you need 4.9.1 or something, see http://trac.sagemath.org/ticket/17169 among others. Using a gcc other than Sage's on Mac is sometimes asking for trouble, the compilers are so picky.
It seems is have gcc4.9.1, since sage told me so when I attempted to install sage 6.4. But I encountered: error: "found MacPorts in /opt/local/bin/port. Either: (1) rename /opt/local and /sw, or (2) change PATH and DYLD_LIBRARY_PATH (Once Sage is built, you can restore them.) If you would like to try to build Sage anyway (to help porting), export the variable 'SAGE_PORT' to something non-empty. make[2]: *** [/Users/Alex/Downloads/sage-6.4.beta4/local/var/lib/sage/installed/prereq] Error 1 make[1]: *** [all] Error 2