[swift-build-dev] swift build error

杨晖 beyondstorm at gmail.com
Thu Dec 17 10:46:33 CST 2015


I had installed swift in my cloud machine, which is ubuntu 14.04.
run "swift" command is ok, I can use REPL.
But when I create a package code followed by official tutorial, create a
empty content file named Package.swift, and a source code file, just one
line code:print("hello")
when I run "swift build" command, the error occurs:
swift-build: exit(127):
["/home/ubuntu/tools/swift/swift-2.2-ubuntu14.04/usr/bin/swiftc",
"--driver-mode=swift", "-I",
"/home/ubuntu/tools/swift/swift-2.2-ubuntu14.04/usr/lib/swift/pm", "-L",
"/home/ubuntu/tools/swift/swift-2.2-ubuntu14.04/usr/lib/swift/pm",
"-lPackageDescription", "/home/ubuntu/code/hello/Package.swift"]

Is there something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20151218/199ced66/attachment.html>


More information about the swift-build-dev mailing list