Skip to content

On windows, (run ./configure) results in CreateProcess(): Exec format error #11174

@gridbugs

Description

@gridbugs

Windows uses file extensions to determine how to open files. This means that actions that run shell scripts without extensions (such as configure scripts) do not work on windows. Opam has explicit support for running scripts, added in ocaml/opam#3348. Dune should be extended in the same way.

Without this change, dune is unable to install any packages with configure scripts. Notably this includes the ocaml compiler itself.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions