[go: up one dir, main page]

Skip to content
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

Cross compile from Linux to Windows using vendored feature fails due to incompatible perl version #2308

Open
blacktemplar opened this issue Sep 28, 2024 · 0 comments

Comments

@blacktemplar
Copy link

I am trying to cross compile a project depending on openssl with the vendored feature. My host machine is running Linux and I have perl installed, but when I run cargo build --release --target=x86_64-pc-windows-msvc I get the following error:

******************************************************************************
  This perl implementation doesn't produce Windows like paths (with backward
  slash directory separators).  Please use an implementation that matches your
  building platform.

  This Perl version: 5.40.0 for x86_64-linux-thread-multi
  ******************************************************************************
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-src-300.3.2+3.3.2/src/lib.rs:633:9:

I was surprised that I didn't find any discussions/issues about this and that there is nothing mentioned in the docs. How can I fix this, does this mean cross compilation does not really work for the vendored feature? Or do I need a different perl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant