MaterializeInc / rust-krb5-src

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

Fails to build on windows #16

Closed ctron closed 2 years ago

ctron commented 2 years ago

For me, this fails to build on windows, as it calls configure, which is a shell script a cannot be executed by windows:

error: failed to run custom build command for `krb5-src v0.2.4+1.18.2`

Caused by:
  process didn't exit successfully: `C:\Users\ctron\git\drogue-cloud\target\release\build\krb5-src-3774d9efaf80c4d8\build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at 'configure failed: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }', C:\Users\ctron\.cargo\registry\src\github.com-1ecc6299db9ec823\krb5-src-0.2.4+1.18.2\build.rs:69:14
benesch commented 2 years ago

Yep, sorry, Windows isn't supported at the moment. A few more details here: https://github.com/MaterializeInc/rust-krb5-src/pull/10#issuecomment-652563413