<html><head></head><body bgcolor="#FFFFFF"><div>The other problem is that XSPEC doesn't do 64-bit builds on Mac because of X11, or so they say. If you can get it to work please let me know. I tried this earlier this week with no luck.<br><br>John ZuHone<div>Laboratory for High-Energy Astrophysics<br><div>NASA/Goddard Space Flight Center</div><div>8800 Greenbelt Rd., Code 662</div><div>Greenbelt, MD 20771</div><div>(w) 301-286-2531</div><div>(m) 773-758-0172</div></div><div><a href="mailto:jzuhone@gmail.com">jzuhone@gmail.com</a></div><div><a href="mailto:john.zuhone@nasa.gov">john.zuhone@nasa.gov</a></div></div><div><br>On Aug 24, 2012, at 5:02 PM, Eric Hallman <<a href="mailto:hallman13@gmail.com">hallman13@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>







<p class="p1">Matt,</p><p class="p1">  thanks for the heads up.  I made the patch and am trying to rebuild.  Thanks!</p><p class="p1"><br></p><p class="p1">Eric</p><p class="p1">Matt wrote:</p><p class="p1">Hi Eric,</p>
<p class="p2"><br></p>
<p class="p1">Looks like this is known for non-framework builds of Python on OSX.</p>
<p class="p1">(We don't build it Framework-wise because it caused a bunch of</p>
<p class="p1">problems in the past and mainly only allowed usage of a few native</p>
<p class="p1">widgets.)  Here is a patch you can apply and then rebuild Python with</p>
<p class="p1">to (possibly) get it to work:</p>
<p class="p2"><br></p>
<p class="p3"><span class="s1"><a href="http://bugs.python.org/issue1602133">http://bugs.python.org/issue1602133</a></span></p>
<p class="p2"><br></p>
<p class="p1">-Matt</p>
<p class="p2"><br></p>
<p class="p1">On Fri, Aug 24, 2012 at 4:46 PM, Eric Hallman <<a href="mailto:hallman13@gmail.com">hallman13@gmail.com</a>> wrote:</p>
<p class="p4">Hello,</p>
<p class="p4"> I know this is not a yt specific issue, however it involves an interaction</p>
<p class="p4">of the yt installed python and XSPEC.  Maybe some of you on this list have</p>
<p class="p4">done an XSPEC install on Mac OS X (Lion in this case) and run into this.  At</p>
<p class="p4">link time during the build of XSPEC, it gives the following error:</p>
<p class="p5"><br></p>
<p class="p4">Undefined symbols for architecture x86_64:</p>
<p class="p4"> "_environ", referenced from:</p>
<p class="p4">     _initposix in libpython2.7.a(posixmodule.o)</p>
<p class="p4">ld: symbol(s) not found for architecture x86_64</p>
<p class="p5"><br></p>
<p class="p4">Originally on my Mac, XSPEC tried to build 32-bit, and failed with python</p>
<p class="p4">linkages (since python is 64 bit in the yt install build).  Once I went to</p>
<p class="p4">64-bit, this was the only remaining error.  Does anyone have ideas?</p>
<p class="p5"><br></p>
<p class="p4">Thanks!</p>
<p class="p5"><br></p>
<p class="p4">Eric Hallman</p>
<p class="p5"><br></p>
<p class="p4">_______________________________________________</p>
<p class="p4">yt-users mailing list</p>
<p class="p4"><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></p>
<p class="p4"><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></p>
<p class="p5"><br></p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></body></html>