-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: failed to run custom build command for openssl-sys v0.9.97 #73
Comments
@Eren-Yeaager thanks for reporting it. We don’t have Windows boxes to debug it and our CI for Windows works just fine, so I don’t know how to help you here. Does pre-compiled binary installation work for you? https://github.com/bos-cli-rs/bos-cli-rs/releases/tag/v0.3.6 |
@frol Yeah i tried the pre-compiled binary installing bos-cli got added to my package.json , but when i run npm run deploy
I have also changed to my near account for deployment in bos.config.json |
From the error it seems that you have a space in the folder name “saswat marpureddy” and it seems that the path is not quoted which causes it to attempt to run |
As a quick workaround, move your project to a folder which doesn’t have spaces in the path |
I am currently on my Windows machine. the exact error that occurred during the installation was
error: failed to run custom build command for openssl-sys v0.9.97
Caused by:
process didn't exit successfully: C:\Users\SASWAT
1\AppData\Local\Temp\cargo-installW4uxhg\release\build\openssl-sys-a52d4764de55824a\build-script-main (exit code: 101)1\AppData\Local\Temp\cargo-installW4uxhg\release\build\openssl-sys-8d11540cf2537ff2\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"--- 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\SASWAT
--- stderr
thread 'main' panicked at C:\Users\saswat marpureddy.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-300.1.6+3.1.4\src\lib.rs:585:9:
Error configuring OpenSSL build:
Command: "perl" "./Configure" "--prefix=C:\Users\SASWAT~1\AppData\Local\Temp\cargo-installW4uxhg\release\build\openssl-sys-8d11540cf2537ff2\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
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 bos-cli v0.3.6 (https://github.com/FroVolod/bos-cli-rs#46037ed0), intermediate artifacts can be found at C:\Users\SASWAT~1\AppData\Local\Temp\cargo-installW4uxhg
The text was updated successfully, but these errors were encountered: