wslongchen/labrador

build on windows is fail....

shanliu opened this issue · 7 comments

Caused by:
process didn't exit successfully: D:\xampp\htdocs\actix-web-dome\target\debug\build\openssl-sys-cd470af4e12e18b6\build-script-main (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR
X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset
running "perl" "./Configure" "--prefix=D:\xampp\htdocs\actix-web-dome\target\debug\build\openssl-sys-016ef75a4a04324c\out\openssl-build\install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-engine" "no-asm" "VC-WIN64A"

--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: Error { kind: NotFound, message: "program not found" }', D:.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-src-111.22.0+1.1.1q\src\lib.rs:488:39
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

整个项目的加密依赖于openssl所以需要编译openssl,openssl在国内有墙,所以可能要翻墙。
windows的话需要安装perl哦
mac/*unix的话内置了openssl直接可以编译

能不能加个 rustls
把 rustls openssl 搞到 futures里去

可以的,我们下个版本加上,会支持rusttls openssl cypto2。
目前win的话可能需要先用perl把openssl安装一下

大约啥时候?

国庆吧预计,暂时可以先用win开发,其他平台部署哦

国庆吧预计,暂时可以先用win开发,其他平台部署哦

国庆过完了,有进度吗?

新版本国庆前就发了哦,默认不含openssl的