<div dir="ltr">Hi Junhwan,<div><br></div><div>We use shasum to calculate hashes of the packages the install script downloads from <a href="http://yt-project.org">yt-project.org</a>.  This ensures we do not try to unpack and install corrupted downloads.</div>

<div><br></div><div>The issue you're running into is that Apple did not ship the shasum binary on OS X 10.5, although it is available on 10.6 and newer.  According to this (<a href="http://stackoverflow.com/questions/7500691/rvm-sha256sum-nor-shasum-found">http://stackoverflow.com/questions/7500691/rvm-sha256sum-nor-shasum-found</a>) StackOverflow discussion, you should be able to work around this issue by temporarily defining a sha512sum function:</div>

<div><br></div><div>function sha512sum() { openssl sha512 "$@" | awk '{print $2}'; }<br></div><div><br></div><div>You'll need to add this as a line in your .bash_profile, I believe.  Note that I haven't tested this so there may be issues.</div>

<div><br></div><div>Also, 10.5 is nearly six years old at this point.  Many software packages only support 10.6 or newer.  It may be a good idea to consider updating to Snow Leopard, which is only $20.00.</div><div><br></div>

<div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 7:06 AM, Junhwan Choi (최준환) <span dir="ltr"><<a href="mailto:choi.junhwan@gmail.com" target="_blank">choi.junhwan@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>Hi yt user,</div><div><br></div><div>I happen to install yt into somewhat old Mac (OS X 10.5.8).</div>

<div>When I start run install script by "bash install_script.sh", I get following message:</div>
<div>----------------------------------</div><div>....</div><div>Awesome!  Here we go.</div><div><br></div><div>Using wget</div><div><br></div><div>I am unable to locate any shasum-like utility.</div><div>ALL FILE INTEGRITY IS NOT VERIFIABLE.</div>


<div>THIS IS PROBABLY A BIG DEAL.</div><div><br></div><div>(I'll hang out for a minute for you to consider this.)</div><div>Downloading xray_emissivity.h5 from <a href="http://yt-project.org" target="_blank">yt-project.org</a></div>

<div>
Downloading zlib-1.2.8.tar.gz from <a href="http://yt-project.org" target="_blank">yt-project.org</a></div><div>2013-09-05 08:57:04 URL:<a href="http://yt-project.org/dependencies/zlib-1.2.8.tar.gz" target="_blank">http://yt-project.org/dependencies/zlib-1.2.8.tar.gz</a> [571091/571091] -> "zlib-1.2.8.tar.gz" [1]</div>


<div>********************************************</div><div>        FAILURE REPORT:</div><div>********************************************</div><div><br></div><div>install_script.sh: line 533: -c: command not found</div>

<div>
install_script.sh: line 526: -c: command not found</div><div>install_script.sh: line 534: -c: command not found</div><div>install_script.sh: line 526: -c: command not found</div><div>install_script.sh: line 533: -c: command not found</div>


<div>install_script.sh: line 533: -c: command not found</div><div><br></div><div>********************************************</div><div>********************************************</div><div>Failure.  Check /Users/jhchoi/common/yt_install.log.  The last 10 lines are above.</div>


<div>----------------------------------</div><div><br></div><div>After this message the install script is crash and  yt_install.log only says:</div><div>install_script.sh: line 533: -c: command not found</div><div>install_script.sh: line 526: -c: command not found</div>


<div><div>install_script.sh: line 534: -c: command not found</div><div>install_script.sh: line 526: -c: command not found</div><div>install_script.sh: line 533: -c: command not found</div><div>install_script.sh: line 533: -c: command not found</div>


<div><br></div><div>I do not know what is shasum-like utility.</div><div>How can I resolve this crash?</div><div><br></div><div>Thanks in advance,</div><div>Junhwan Choi</div></div><div><br></div><div><br></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>