<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Jim,<div class=""><br class=""></div><div class="">I updated the info here to explain how to build on OS X.</div><div class=""><a href="https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-Yosemite" class="">https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-Yosemite</a></div><div class=""><br class=""></div><div class="">Could you tell me how it goes?</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 11, 2016, at 5:40 AM, Jim Newton <<a href="mailto:jnewton@lrde.epita.fr" class="">jnewton@lrde.epita.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m trying to get started with Clasp. I cloned a copy of the git repo.<div class=""><br class=""></div><div class="">I looked at the README.md file instructions. First it says to try to download a precompiled release from</div><div class=""><a href="https://github.com/drmeister/clasp/releases" class="">https://github.com/drmeister/clasp/releases</a></div><div class="">But when I look on that web page it says:</div><div class=""><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);" class="">Please </span><strong style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;" class="">do not use the "source code" downloads</strong><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);" class=""> below; clone the repository instead,</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><div class="">OK, so maybe the README.md is out of date?</div></div><div class="">So I though about trying to compile it myself.</div><div class=""><br class=""></div><div class="">The README.md file says to follow an extra step for Mac detailed on the page</div><div class=""><a href="https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-requires-using-the-open-source-version-of-Clang" class="">https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-requires-using-the-open-source-version-of-Clang</a></div><div class="">But I really don’t understand what that page is telling me to do.</div><div class="">Here’s what I read there.</div><div class=""><br class=""></div><div class=""><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; margin-top: 0px !important;" class="">Building Clasp on OS X requires using the same version of Clang that Clasp is linked with. I use the llvm/clang version that gets built by externals-clasp.</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;" class="">This clang needs to be informed where OS X compiler resources (header files) are located.</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;" class="">So the following symbolic link needs to be installed.</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;" class="">Let's say the external clang executable is installed at <code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; padding: 0.2em 0px; margin: 0px; background-color: rgba(0, 0, 0, 0.0392157); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;" class="">/Users/meister/Development/externals-clasp/build/release/bin/clang</code>.</p><div class=""><br class=""></div></div><div class=""><div class="">Questions: Am I supposed to understand which version of Clang Clasp is linked with? Especially before I’ve compiled</div></div><div class="">the first time? What is “external clang”? I see that on my system clang is in /usr/bin/clang. Do I need to install another clang?</div><div class=""><br class=""></div><div class="">If someone could give me some more help, that’d be great.</div><div class=""><br class=""></div><div class="">Kind regards</div><div class="">Jim</div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>