-
Notifications
You must be signed in to change notification settings - Fork 345
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
libssh2-sys dependency won't compile on windows #3984
Comments
According to https://martinvonz.github.io/jj/latest/install-and-setup/#windows, try installing with |
I was - I'd tried with and without that feature and got the same error, so I omitted it when typing the issue, forgetting it was in the explicit installation instructions for windows |
I see. One thing you could attempt is to figure out how your setup is different from the CI (https://github.com/martinvonz/jj/actions/runs/9706008935/job/26788998456). I have a Windows 11 VM I could try this in; perhaps somebody running actual Windows can try to reproduce the problem. |
Also, if you can definitely reproduce the problem with that option, you should edit the issue description and put it in. |
Looks like I can compile it on my home (windows 10) pc with or without the relevant feature, so it's definitely something about my work pc. I might just wait till the next jj release and get a pre-built binary. |
Regarding binaries of in-progress versions, see also: #2544 which I can maybe tack a whack at implementing. Then you could go download a binary immediately from the latest commit on |
Oh that would be perfect for me actually. I don't suppose there's any way to grab one of those binaries before #3999 merges? |
You can find some binaries on the I suspect it will get merged today though at the latest, since it's pretty straightforward. |
Description
I've regularly compiled from source before (though on a different win10 computer). Currently, though, the
libssh2-sys
dependency is failing to compile. I've tried compiling the bothssh2-rs
repo (which uses 0.3.0 of the sys crate) and thelibssh2-sys
crate (at 0.3.0) directly with no apparent issue, so I suspect the failure is somehow tied tojj
.Steps to Reproduce the Problem
cargo install --locked --bin jj jj-cli --features vendored-openssl
Expected Behavior
jj installs successfully
Actual Behavior
Specifications
The text was updated successfully, but these errors were encountered: