1

I tried with Ubuntu 18.04 on WSL 1 and it did not work, it was not possible to build from source.

Has anybody tried compiling on WSL2?

2

I was able to make it work, you need to disable bubblewrap which is used by opam but not supported in WSL. You can do so using the --disable-sandboxing flag.

See https://github.com/ocaml/opam-repository/issues/12050#issuecomment-393478072

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.