dune can not work with ocaml trunk version #8636
-
Hi all #exit 0;; now this is the steps: but when i run make dev, it show a lot of error. $ make dev Can anybody help me and give some advice? thanks. another issue: dune --version dune init project helloworld cd helloworld same problem, it means dune can not work normally. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The dev target in the makefile will also build the tests which need more libraries. If you want to build those have a look at |
Beta Was this translation helpful? Give feedback.
-
Thanks Octachron and Alizter, it seems have bug in ocaml trunk version, when i change to 5.1 branch, now dune work ok. ocaml #exit 0;; when i updated to newest ocaml/dune trunk version that include bug fix, ocaml/dune also run normally. ocaml: dune: ocaml --version |
Beta Was this translation helpful? Give feedback.
I would also strongly advise to start with a released version of OCaml rather than with a dev version of the compiler.
In particular, there was a bug on the dev version of the compiler that might lead to "Missing cmi" errors few days ago. The bug is now fixed, but it stands to reason that if your aims is not to debug compiler bugs, you should avoid dev version of the OCaml compiler.