scryer-prolog icon indicating copy to clipboard operation
scryer-prolog copied to clipboard

Building on msys2-mingw64 fails in openssl

Open th opened this issue 3 years ago • 2 comments

I'm trying to build Scryer on a freshly installed msys2. In msys2-mingw I did:

  • pacman -Syu (twice)
  • pacman -S git
  • pacman -S mingw-w64-x86_64-rust
  • cargo run

cargo fails to build openssl with:



*** OpenSSL has been successfully configured ***


*** If you encounter a problem while building, please open an *** *** issue on GitHub https://github.com/openssl/openssl/issues *** *** and include the output from the following command: ***


*** perl configdata.pm --dump ***


*** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL file first) ***



running "make" "depend"

--- stderr thread 'main' panicked at 'called Result::unwrap() on an Err value: Error { kind: NotFound, message: "program not found" }' [...] openssl-src-111.18.0+1.1.1n\src\lib.rs:477:39

Am I doing something wrong, or is msys2 broken at the moment?

th avatar Sep 25 '22 16:09 th

Could you please try this with the rebis-dev branch?

I think the (direct) openssl dependency should be eliminated as of ad24c66522f95a9676c6d929c1f43a34025156f9.

Thank you a lot!

triska avatar Sep 25 '22 18:09 triska

Yes, that branch builds fine on msys2-mingw64.

th avatar Sep 26 '22 07:09 th

This is now available in master, and I think this resolves this issue.

triska avatar Nov 13 '22 16:11 triska

Correct.

th avatar Jul 29 '23 05:07 th