MaterializeInc / rust-krb5-src

Rust build system integration for libkrb5, MIT's Kerberos implementation
Apache License 2.0
6 stars 9 forks source link

Building fail on win32? #10

Closed fanatid closed 3 years ago

fanatid commented 4 years ago

Thank you for your work on rust-rdkafka and dependencies. I trying use version with gssapi-vendored (cherry-picked only Cargo.toml changes from master), but have problem with compiling it on Windows.

Building fail with:

'configure failed: Os { code: 193, kind: Other, message: "%1 is not a valid Win32 application." }'

I'm not sure what problem with build.rs, so created PR with CI changes which add windows to build matrix.

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

benesch commented 4 years ago

Ah, yeah, the build script here only supports building on Unix at the moment. I'd be happy to take a PR that makes this build on Windows, but you'll need to make the build script execute the special Windows build instructions when building on Windows: https://github.com/krb5/krb5/blob/master/src/windows/README.

benesch commented 3 years ago

Going to close this in the meantime though.