<div dir="ltr">Hello,<div><br></div><div>I am working on setting up a build-bot on OS X 10.8.5, but I&#39;m having some issues when I use my scripts with launchd.</div><div><br></div><div>Our software downloads configures, and builds a few other packages using cmake. One of these external projects is GTS, which, uses configure (as opposed to cmake) to configure and build using make and gcc.</div><div>So to use the mp libraries and compilers we configure it specifying the compiler that used by cmake, i.e. something like:</div><div>CC=&quot;${CMAKE_C_COMPILER}&quot; &amp;&amp; CPP=&quot;${CMAKE_CXX_COMPILER}&quot; &amp;&amp; ${${proj}_OUTPUT_DIR}/configure --prefix=${GTS_INSTALL_DIR}<br></div><div><br></div><div>These values are set to a mp compiler.</div><div><br></div><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><div><br></div><div>I know this isn&#39;t specifically a macports issue, but since I am trying to use the macports toolchain, I thought someone else might have run into it....</div><div><br></div><div>Thank you!!</div><div>-Jameson</div><div><br></div><div><br></div><div><br></div><div><br></div></div>