[Pythonmac-SIG] Errors building Cython extensions on 10.9...

Chris Barker chris.barker at noaa.gov
Tue Feb 11 17:24:08 CET 2014


On Mon, Feb 10, 2014 at 5:28 PM, Ned Deily <nad at acm.org> wrote:

>
> I've seen a lot of discussions on the MacPorts groups about the problems
> caused by the 10.9 change in the default C++ library.  It seems you can
> change it at compile time but you need to be careful that other C++ libs
> are also built the same.  See, for example:
>
> http://stackoverflow.com/questions/19637164/c-linking-error-after-upgradi
> ng-to-mac-os-x-10-9-xcode-5-0-1
>
>
OK, so it looks like we need:

"-stdlib=libc++"

and maybe:
-mmacosx-version-min=10.6

But shouldn't ditutils have already done that?

And some folks seem to say that if macosx-version-min is set, then
you shouldn't  need the stdlib setting -- so maybe the pythonorg builds
will still work

NOTE: I'm not sure what Python build the user in question was using -- if
it's macprot, or homebrew or raoll-your-own, then the macosversion may not
have been set.

Thanks,
  -Chris



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20140211/bcc5819b/attachment.html>


More information about the Pythonmac-SIG mailing list