That did the trick! Thank you so much for your quick reply.
mak
···
On Thu, Dec 3, 2015 at 2:40 PM Dmitri Gribenko <gribozavr@gmail.com> wrote:
On Thu, Dec 3, 2015 at 11:33 AM, Matt Kolb <kolb722@gmail.com> wrote:
> mak@nibbler ~/Documents/github/mkolb/Hello
> % swift build -v
>
/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)
> <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"]
>
> Being brand new to this toolchain, and being as the archives are empty,
I figured I'd post this question. Thanks for any help!
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).
The full list of dependencies Dmitri gave is only needed if you are also trying to build the Swift compiler from source.
We documented this requirement here: Swift.org - Download Swift
(step 6) but it may need additional clarification.
Cheers,
- Daniel
···
On Dec 3, 2015, at 11:43 AM, Matt Kolb <kolb722@gmail.com> wrote:
That did the trick! Thank you so much for your quick reply.
mak
On Thu, Dec 3, 2015 at 2:40 PM Dmitri Gribenko <gribozavr@gmail.com <mailto:gribozavr@gmail.com>> wrote:
On Thu, Dec 3, 2015 at 11:33 AM, Matt Kolb <kolb722@gmail.com <mailto:kolb722@gmail.com>> wrote:
> mak@nibbler ~/Documents/github/mkolb/Hello
> % swift build -v
> /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)
> <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"]
>
> Being brand new to this toolchain, and being as the archives are empty, I figured I'd post this question. Thanks for any help!