相关疑难解决方法(0)

OpenSSL包在Mac OS X 10.11上无法编译

我尝试在Mac OS X 10.11.2上为Rust安装Iron框架,但是当我运行cargo buildcargo run编译时它失败了openssl:

failed to run custom build command for `openssl-sys-extras v0.7.4`
Process didn't exit successfully: `/xxx/rust/hello/target/debug/build/openssl-sys-extras-413d6c73b37a590d/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
TARGET = Some("x86_64-apple-darwin")
debug=true opt-level=0
HOST = Some("x86_64-apple-darwin")
TARGET = Some("x86_64-apple-darwin")
TARGET = Some("x86_64-apple-darwin")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("x86_64-apple-darwin")
TARGET = Some("x86_64-apple-darwin")
HOST = Some("x86_64-apple-darwin")
CFLAGS_x86_64-apple-darwin = …
Run Code Online (Sandbox Code Playgroud)

macos rust rust-cargo

12
推荐指数
2
解决办法
2611
查看次数

标签 统计

macos ×1

rust ×1

rust-cargo ×1