-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failed cargo install with SSL feature under linux (RustPython 0.3.0) #5182
Comments
Did you install the |
|
I have exact same issue on AlmaLinux release 8.9 (Midnight Oncilla). |
Have you solved the problem? |
|
Yeah, I suspect openssl 1.1.x is a culprit since I can build without an issue on Fedora 39 (openssl 3.1.1) and Ubutnu 22.04 (openssl 3.0.2). |
You are right. I consulted with project contributor, and his anwer was the same as yours. |
Thank you for confirming. How about using |
Thanks! On Windows, it appears we need to install
|
Thank you for checking it! |
Okay. I'm able to build on Windows 11. Here's how. Use
then
(It takes really long time to build
Unfortunately, |
I successfly install the rustpython with My System info: |
|
@oroppas If you want to avoid perl, how about using ssl-vendor for linux and just ssl for windows? Our CI installs openssl with vcpkg. |
@youknowone, does that mean the Windows users can |
@oroppas I am sorry, I am not good enough at windows ecosystem to say yes or no to the answer. Could you check if this command is working for your windows environment? https://github.com/RustPython/RustPython/blob/main/.github/workflows/ci.yaml#L251-L256 The expected command is |
but
|
Isn't it because your windows env already have openssl 1.1.1 somewhere? openssl-sys has prioritized resolver. Probably vcpkg has lower priority than the other installation. |
yeah, that's what I'm guessing. Let me do clean-up. |
It still fails. I did
|
Does the mentioned PR fix openssl 1.x? Although its not in rustpython I use openssl 1.x forks over openssl 3 due to openssl not implementing QUIC properly. |
@theoparis No, RustPython only supports openssl 3 now |
There must be a patch we moved from 1.x to 3, but I have no idea which one. Trying revert may be worth if you need it. |
Okay. I needed to set PowerShell
Command Prompt
|
Hmm. |
Summary
cargo install --git https://github.com/RustPython/RustPython --features=ssl
System Info
libssl-dev
(1.1.1f-1ubuntu2.22)Actual
Things I've done to try to fix:
rustup update
for rust updates (rustc 1.76.0 (07dca489a 2024-02-04)
)cargo install --git https://github.com/RustPython/RustPython
(non-SSL works fine)The text was updated successfully, but these errors were encountered: