<div dir="ltr">On Mon, Feb 10, 2014 at 5:28 PM, Ned Deily <span dir="ltr"><<a href="mailto:nad@acm.org" target="_blank">nad@acm.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class=""><br>
</div>I've seen a lot of discussions on the MacPorts groups about the problems<br>
caused by the 10.9 change in the default C++ library.  It seems you can<br>
change it at compile time but you need to be careful that other C++ libs<br>
are also built the same.  See, for example:<br>
<br>
<a href="http://stackoverflow.com/questions/19637164/c-linking-error-after-upgradi
ng-to-mac-os-x-10-9-xcode-5-0-1" target="_blank">http://stackoverflow.com/questions/19637164/c-linking-error-after-upgradi<br>
ng-to-mac-os-x-10-9-xcode-5-0-1</a><br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div>OK, so it looks like we need:<br><br>"-stdlib=libc++"<br><br>and maybe:<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px">-mmacosx-version-min=10.6</span><span style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px"><br>

</span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><font color="#500050" face="arial, sans-serif">But shouldn't ditutils have already done that?</font><br>

</div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="font-size:12.800000190734863px;color:rgb(80,0,80);font-family:arial,sans-serif">And some folks seem to say that if </span><font color="#500050" face="arial, sans-serif">macosx-version-min is set, then you shouldn't  need the stdlib setting -- so maybe the pythonorg builds will still work</font><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br>

</span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px">NOTE: I'</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px">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.</span></div>

<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px">Thanks,</span></div>

<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px">  -Chris</span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.800000190734863px"><br>

</span></div><div style><br></div></div><div><br></div>-- <br><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>

Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a>
</div></div>