szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.51k stars 151 forks source link

error: failed to run custom build command for `openssl-sys v0.9.93` #227

Open ket000 opened 9 months ago

ket000 commented 9 months ago

error: failed to run custom build command for openssl-sys v0.9.93

Caused by: process didn't exit successfully: C:\Users\test\AppData\Local\Temp\cargo-installELSpmq\release\build\openssl-sys-02f6151aa28f62f8\build-script-main (exit code: 101) --- stdout 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=C:\Users\test\AppData\Local\Temp\cargo-installELSpmq\release\build\openssl-sys-bdc1df515b081b96\out\openssl-build\install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-capieng" "no-asm" "VC-WIN64A"

--- stderr thread 'main' panicked at '

Error configuring OpenSSL build: Command: "perl" "./Configure" "--prefix=C:\Users\test\AppData\Local\Temp\cargo-installELSpmq\release\build\openssl-sys-bdc1df515b081b96\out\openssl-build\install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-capieng" "no-asm" "VC-WIN64A" Failed to execute: program not found

  ', C:\Users\test\.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-300.1.5+3.1.3\src\lib.rs:577:9

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile microbin v2.0.4, intermediate artifacts can be found at C:\Users\test\AppData\Local\Temp\cargo-installELSpmq. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

MikeTheSapien commented 7 months ago

I have the same error as yours. May I know if you've fixed this?