John, <div>  as of right now, I have just "successfully" built XSPEC for Lion, with the patch applied that Matt pointed me to for Python.  I had no errors in the build, and I'll attempt to use it shortly and let you know off-line if anything fails.  </div>
<div><br></div><div>Cheers,</div><div><br></div><div>Eric</div><div><br></div><div>







<p class="p1">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.</p>
<p class="p2"><br></p>
<p class="p1">John ZuHone</p>
<p class="p1">Laboratory for High-Energy Astrophysics</p>
<p class="p1">NASA/Goddard Space Flight Center</p>
<p class="p1">8800 Greenbelt Rd., Code 662</p>
<p class="p1">Greenbelt, MD 20771</p>
<p class="p1">(w) 301-286-2531</p>
<p class="p1">(m) 773-758-0172</p>
<p class="p3"><span class="s1"><a href="mailto:jzuhone@gmail.com">jzuhone@gmail.com</a></span></p>
<p class="p3"><span class="s1"><a href="mailto:john.zuhone@nasa.gov">john.zuhone@nasa.gov</a></span></p>
<p class="p2"><br></p>
<p class="p1">On Aug 24, 2012, at 5:02 PM, Eric Hallman <<a href="mailto:hallman13@gmail.com"><span class="s2">hallman13@gmail.com</span></a>> wrote:</p>
<p class="p2"><br></p>
<p class="p2"><br></p>
<p class="p4">Matt,</p>
<p class="p4">  thanks for the heads up.  I made the patch and am trying to rebuild.  Thanks!</p>
<p class="p5"><br></p>
<p class="p4">Eric</p>
<p class="p4">Matt wrote:</p>
<p class="p4">Hi Eric,</p>
<p class="p5"><br></p>
<p class="p4">Looks like this is known for non-framework builds of Python on OSX.</p>
<p class="p4">(We don't build it Framework-wise because it caused a bunch of</p>
<p class="p4">problems in the past and mainly only allowed usage of a few native</p>
<p class="p4">widgets.)  Here is a patch you can apply and then rebuild Python with</p>
<p class="p4">to (possibly) get it to work:</p>
<p class="p5"><br></p>
<p class="p6"><span class="s1"><a href="http://bugs.python.org/issue1602133">http://bugs.python.org/issue1602133</a></span></p>
<p class="p5"><br></p>
<p class="p4">-Matt</p>
<p class="p5"><br></p>
<p class="p4">On Fri, Aug 24, 2012 at 4:46 PM, Eric Hallman <<a href="mailto:hallman13@gmail.com"><span class="s2">hallman13@gmail.com</span></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="p6"><span class="s1"><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span></p>
<p class="p6"><span class="s1"><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span></p>
<p class="p5"><br></p>
<p class="p7">_______________________________________________</p>
<p class="p7">yt-users mailing list</p>
<p class="p3"><span class="s1"><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span></p>
<p class="p3"><span class="s1"><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span></p></div>