<div dir="ltr"><div>Hi Phillipe,<br><br></div>I'm doing this on Ubuntu 16.04 LTS and I first ran:<br><br><pre><code>swift/utils/build-script --xctest --foundation -t<br><br></code></pre><pre><code>and then<br><br></code><code>cd swift-corelibs-foundation
ninja<br><br></code></pre><pre><code>I wonder why this is happening!<br><br></code></pre><pre><code>Thanks for your help!<br><br></code></pre><pre><code>Mohit<br></code></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 12:31 PM, Philippe Hausler <span dir="ltr"><<a href="mailto:phausler@apple.com" target="_blank">phausler@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>What host os are you attempting to build on?</div><div><br></div><div>For linux you need to have a configured Foundation initially to run ninja. This means that you need to build swift with the build-script including --foundation and --libdispatch and --xctest</div><div><br></div><div>After one successful build you can run ninja in the Foundation directory to build it, and if you need to modify the build scripts (for example including additional files) you can run ./configure --reconfigure</div><br><div><blockquote type="cite"><div><div class="h5"><div>On Mar 28, 2017, at 12:28 PM, Mohit Athwani via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:</div><br class="m_-4108623419652702894Apple-interchange-newline"></div></div><div><div><div class="h5">
<div>
<div name="messageBodySection"><font color="#0033B1">I am trying to build Foundation and is anybody else getting build.ninja: No such file or directory error?<br>
<br>
I just cloned everything from github. This did not happen with me when I worked on my previous pull request.</font></div>
<div name="messageSignatureSection"><br>
Cheers!<br>
<br>
<br>
--<br>
Mohit Athwani<br>
<a href="http://about.me/mohitathwani" target="_blank">http://about.me/mohitathwani</a></div>
</div></div></div>
______________________________<wbr>_________________<br>swift-users mailing list<br><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br></div></blockquote></div><br></div></blockquote></div><br></div>