<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 23, 2014 at 11:17 AM, Jameson Merkow <span dir="ltr">&lt;<a href="mailto:jmerkow@gmail.com" target="_blank">jmerkow@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>This works perfectly on linux (automatic and cron) and on mac when I initiate the build manually, but when I added it to a launchd (or cronjob).</div><div><br></div><div>I believe that the issue lies with the toolchain, when I run the script, the tool chain used is the one in /opt/local/, however when I run the script, it uses XCode&#39;s toolchain for some reason... It also not finding any of the mp libraries (i.e. glib).</div><div><br></div><div>Any Idea why this might be? I&#39;ve tried setting the path in the script, but this does not help. And Im out of ideas as to the cause.</div></blockquote></div><br>The first thing to look at in such cases is to compare the output of `env` from a shell and in the cron job. $PATH is far from the only thing that can affect builds.<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>