按照perfect的配置页面(https://www.perfect.org/docs/...)
克隆编译入门项目在mac 本地上然后使用swift 进行编译 报错
swift编译不通过
不知具体的问题
终端代码如下
? PerfectTemplate git:(master) swift build
warning: refname '2.1.14' is ambiguous.
warning: refname '2.1.14' is ambiguous.
HEAD is now at e060d52 HPACK fix
Resolved version: 2.1.14
warning: refname '2.1.6' is ambiguous.
warning: refname '2.1.6' is ambiguous.
HEAD is now at b732688 API tweaks to accomodate usage patterns
Resolved version: 2.1.6
warning: refname '2.0.6' is ambiguous.
warning: refname '2.0.6' is ambiguous.
HEAD is now at 9151860 Merge branch 'master' of https://github.com/PerfectlySoft/PerfectLib
Resolved version: 2.0.6
warning: refname '2.1.4' is ambiguous.
warning: refname '2.1.4' is ambiguous.
HEAD is now at 84b5097 Added NetTCPSSL configuration callback
Resolved version: 2.1.4
Cloning https://github.com/PerfectlySoft/Perfect-COpenSSL.git
/usr/local/bin/git clone --recursive --depth 10 https://github.com/PerfectlySoft/Perfect-COpenSSL.git /Users/zach/playground/PerfectTemplate/Packages/Perfect-COpenSSL.git
Cloning into '/Users/zach/playground/PerfectTemplate/Packages/Perfect-COpenSSL.git'...
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Failed to clone https://github.com/PerfectlySoft/Perfect-COpenSSL.git to /Users/zach/playground/PerfectTemplate/Packages/Perfect-COpenSSL.git
? PerfectTemplate git:(master) ls
Dockerfile LICENSE LICENSE.zh_CN Package.swift Packages README.md README.zh_CN.md Sources
mac 本地需要按照perfect 软件接口库,比如OpenSSL、libssl-dev和uuid-dev么
mac 上使用brew配置 openssl
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…