Skip to content
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

Installing on Windows 10 failed #2

Open
martijnbolt opened this issue Dec 10, 2020 · 1 comment
Open

Installing on Windows 10 failed #2

martijnbolt opened this issue Dec 10, 2020 · 1 comment
Assignees
Labels
install Issues related to installation/compilation process windows Windows-specific issues
Milestone

Comments

@martijnbolt
Copy link

martijnbolt commented Dec 10, 2020

Tried installing on win10 with rustc 1.48.0 (7eac88abb 2020-11-16) 64 bit.

This hack was installed, but doesn't seem to work: sfackler/rust-openssl#1086

Used this command:
cargo install bitcoin-pro --version 0.1.0-beta.1

Got this error:

   ...
   Compiling num_cpus v1.13.0
   Compiling generic-array v0.12.3
error: failed to run custom build command for `openssl-sys v0.9.59`

Caused by:
  process didn't exit successfully: `C:\Users\username\AppData\Local\Temp\cargo-install4GTSdG\release\build\openssl-sys-76e26209b26ac513\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=C:\\Users\\username\\AppData\\Local\\Temp\\cargo-install4GTSdG\\release\\build\\openssl-sys-9cc6cd8da2f72785\\out\\openssl-build\\install" "no-dso" "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: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\username\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-src-111.13.0+1.1.1i\src\lib.rs:413:39
  stack backtrace:
     0: std::panicking::begin_panic_handler
               at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4\/library\std\src\panicking.rs:483
     1: core::panicking::panic_fmt
               at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4\/library\core\src\panicking.rs:85
     2: core::option::expect_none_failed
               at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4\/library\core\src\option.rs:1234
     3: core::result::Result<T,E>::unwrap
     4: openssl_src::Build::build
     5: openssl_src::Build::build
     6: build_script_main::find_vendored::get_openssl
     7: build_script_main::env::{{closure}}
     8: build_script_main::find_openssl::{{closure}}
     9: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `bitcoin-pro v0.1.0-beta.1`, intermediate artifacts can be found at `C:\Users\username\AppData\Local\Temp\cargo-install4GTSdG`

Caused by:
  build failed

Anyone else having the same issue?

@martijnbolt martijnbolt changed the title Installing on WIndows 10 failed Installing on Windows 10 failed Dec 10, 2020
@dr-orlovsky
Copy link
Member

It could be that a vendored SSL version is needed. It is supported at the level of upstream libs, so I will add support here as well: #2

@dr-orlovsky dr-orlovsky self-assigned this Dec 10, 2020
@dr-orlovsky dr-orlovsky added windows Windows-specific issues install Issues related to installation/compilation process labels Dec 10, 2020
@dr-orlovsky dr-orlovsky added this to the v0.1 milestone Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Issues related to installation/compilation process windows Windows-specific issues
Projects
None yet
Development

No branches or pull requests

2 participants