<div dir="ltr">Hi all,<div><br></div><div>I think the issue is with the ZeroMQ library provided by yt.  As indicated in the macports discussion originally linked to, you can fix this yourself by manually editing the offending file to not use the strndup function</div>

<div><br></div><div>If you don't want ZeroMQ (needed to get the IPython notebook working properly) you can set INST_ZMQ=0 in the install script.  That should get past the error you're seeing.  You should be able to get a working zeroMQ in the end by installing pyzmq via pip, which can optionally install a bundled version of ZeroMQ.  To do this, run the following command when the install script finishes:</div>

<div><br></div><div>$ pip install pyzmq</div><div><br></div><div>I don't know whether you'll run into the same strndup issue, but it's certainly worth a try!  Like I said above, you can fix the original issue yourself by manually editing the ZeroMQ source as indicated in the macports discussion thread.</div>

<div><br></div><div>The ZeroMQ issue is already fixed in the development version of ZeroMQ, but unfortunately there isn't a stable version of ZeroMQ available yet that includes the fix. Once such a version is released, we'll update the install script to build the new version.</div>

<div><br></div><div>Sorry to hear you're having trouble.  Unfortunately this is an issue with an upstream package that we depend on so we wouldn't have caught it during yt's development cycle unless one of the developers was running 10.6 and tried to rebuild ZeroMQ.  It's very difficult for us to test the install script on a variety of OS and OS versions before doing releases, so issues like this can slip through the cracks.</div>

<div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 11:48 AM, j s oishi <span dir="ltr"><<a href="mailto:jsoishi@gmail.com" target="_blank">jsoishi@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Tudor,<div><br></div><div>The error seems to be with ZeroMQ, which yt depends on. It appears that the version of ZeroMQ you are attempting to compile will not build on OS 10.6.8; at least, that is what the link you provided indicates. I am not a  Mac user, so I can't speak from experience on that, though.</div>


<div><br></div><div>However, it's hard for us to tell if this is the version we ship with yt, since you haven't provided very much context for the error you're getting. Could you please set along the yt_install.log, so we can see if the problem is with the yt provided ZeroMQ? In the future, we'll be able to provide better help if we can get full error logs.</div>


<div><br></div><div>thanks,</div><div><br></div><div>Jeff</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 2:42 PM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com" target="_blank">brittonsmith@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Tudor,<br><br></div>Are you seeing that error when running that line?  If so, you can also try using wget instead of curl, if you have that installed from something like macports.  If that's not what's happening, can you be more specific about what you're doing and when you see that error?<br>



<br></div>Britton<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 5:07 PM, Platon, Tudor <span dir="ltr"><<a href="mailto:tplaton@cfa.harvard.edu" target="_blank">tplaton@cfa.harvard.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Britton,<div><br></div><div>I am actually following the procedure on the <a href="http://yt-project.org" target="_blank">yt-project.org</a>. I am using <span style="line-height:20px;font-size:15px;font-family:Inconsolata">$ curl -O <a href="http://hg.yt-project.org/yt/src/stable/doc/install_script.sh" style="color:rgb(74,143,67);text-decoration:none" target="_blank">http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh</a></span></div>




<div>Do you have any other suggestions?</div><div><br></div><div>Regards,</div><div>Tudor</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 10:41 AM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com" target="_blank">brittonsmith@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Tudor,<br><br></div>It looks like you're trying to install yt from macports.  Is that right?  If so, I'm not sure who is in charge of the yt module in macports or if they are even following this list.  It seems that the latest yt version on macports is 2.3, which is from quite a while ago.  I recommend using the install script available at <a href="http://yt-project.org" target="_blank">yt-project.org</a> under the "Get yt" section.<br>





<br></div>Britton<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, Sep 13, 2013 at 6:06 PM, Platon, Tudor <span dir="ltr"><<a href="mailto:tplaton@cfa.harvard.edu" target="_blank">tplaton@cfa.harvard.edu</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello everyone,<div><br></div><div>I am trying to install the current stable version of yt on a Mac, running Mac OS X ver 10.6.8 and I get the following errors:</div>





<div><div>test_disconnect_inproc.cpp:48: error: ‘strndup’ was not declared in this scope</div>
<div>test_disconnect_inproc.cpp:52: error: ‘strndup’ was not declared in this scope</div><div>test_disconnect_inproc.cpp:72: error: ‘strndup’ was not declared in this scope</div></div><div>The Xcode 3.2.6/iOS SDK bundle is already installed. A similar error is reported on the following webpage:</div>






<div><a href="http://trac.macports.org/ticket/39122?cversion=0&cnum_hist=8" target="_blank">http://trac.macports.org/ticket/39122?cversion=0&cnum_hist=8</a></div><div>Does anyone have a solution for this?</div><div>





<br></div><div>
Regards,</div><div>Tudor</div></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>