<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">To clarify, the only additional dependency which you should need for simply *using* the package manager is to "sudo apt-get install clang" (swiftc uses "clang++" to perform the actual link).<div class=""><br class=""></div><div class="">The full list of dependencies Dmitri gave is only needed if you are also trying to build the Swift compiler from source.</div><div class=""><br class=""></div><div class="">We documented this requirement here:</div><div class=""> <a href="https://swift.org/download/#linux" class="">https://swift.org/download/#linux</a></div><div class="">(step 6) but it may need additional clarification.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""> - Daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 3, 2015, at 11:43 AM, Matt Kolb <<a href="mailto:kolb722@gmail.com" class="">kolb722@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">That did the trick! Thank you so much for your quick reply.<br class=""><br class=""></div><div class="">mak<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Dec 3, 2015 at 2:40 PM Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" class="">gribozavr@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Dec 3, 2015 at 11:33 AM, Matt Kolb <<a href="mailto:kolb722@gmail.com" target="_blank" class="">kolb722@gmail.com</a>> wrote:<br class="">
> mak@nibbler ~/Documents/github/mkolb/Hello<br class="">
> % swift build -v<br class="">
> /home/mak/Documents/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin/swiftc -o /home/mak/Documents/github/mkolb/Hello/.build/debug/Hello /home/mak/Documents/github/mkolb/Hello/.build/debug/Hello.o/Sources/main.swift.o -L/usr/local/lib <unknown>:0: error: link command failed with exit code 127 (use -v to see invocation)<br class="">
> <unknown>:0: error: build had 1 command failures swift-build: exit(1): ["/home/mak/Documents/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin/swift-build-tool", "-v", "-f", "/home/mak/Documents/github/mkolb/Hello/.build/debug/Hello.o/llbuild.yaml"]<br class="">
><br class="">
> Being brand new to this toolchain, and being as the archives are empty, I figured I'd post this question. Thanks for any help!<br class="">
<br class="">
Hi Matt,<br class="">
<br class="">
Please install the dependencies and try again:<br class="">
<br class="">
$ sudo apt-get install git cmake ninja-build clang uuid-dev libicu-dev<br class="">
icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig<br class="">
libpython-dev libncurses5-dev pkg-config<br class="">
<br class="">
Dmitri<br class="">
<br class="">
--<br class="">
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br class="">
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank" class="">gribozavr@gmail.com</a>>*/<br class="">
</blockquote></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=AdkfTiApI80cNEyortTzHbERtY5det-2FDBvSxuhs4q2N-2BHZzduO-2BOK2uN87kWyEmCPrWHXjvXjcgQg-2Bi1teR1XmWnEv7-2BxMjJEAmGav2shzkS-2FH1pb1aNhFnnFSmCFbnTndzLY2lunOFYw3F41Ln3IFGmsjdZ0miz9U1-2FP21wAobzNwxja5Ocx5Onau-2B377V5-2BpVEhhFNyyQjZOPkCWJG7-2F6UIJVZXAOV121yciLjWdg-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>