Stdune fails to compile

OK. We haven’t figured out why you have a few libraries installed in /usr/lib/ocaml, but if you just want to get things working, you could go ahead and simply delete /usr/lib/ocaml/dyn, /usr/lib/ocaml/ordering (these are the ones I see in your log, there may be others) and try again.

Alternatively, you may want to use an OCaml compiler installed via OPAM (ie opam switch create ...) which will be installed in ~/.opam and will completely insulate you from your existing system installation.

Sure, you are welcome.

Cheers,
Nicolas

1 Like