Re: Errors building Cython extensions on 10.9...

Chris Barker <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CALGmxE+tF0t2MoCqSrEUZQURJhBDWou+qO6qOu7cMju0kg18Fg@mail.gmail.com>
On Mon, Feb 10, 2014 at 5:28 PM, Ned Deily <[email protected]> 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

[email protected]

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.