Closed sbliven closed 5 years ago
It looks like this might be an ocaml version problem. After downgrading to 4.01.0 I see the js_of_ocaml.syntax
package with ocamlfind list
. However I get some other errors. Which ocaml version is required for this project?
From readme, 4.03.0 is required but I think the js_of_ocaml-camlp4
package should be used instead of js_of_ocaml.syntax
.
You are right, I discovered recently that the package name has changed... I think you can edit file _tags
and replace js_of_ocaml.syntax
with js_of_ocaml-camlp4
(note the dash instead of the dot) and it should work. Can you try it?
Once I better understand which version to use, I should update the README accordingly. Ideally, this should be configured automatically by detecting the version, but oh well…
Oh, actually you made a pull request with this exact fix :D
Side note: I think I had a weird situation with OCaml version 4.03 but with the older js_of_ocaml syntax package. When I reinstalled it on a new computer (for another project), I encountered the same problem as you and it took me a while to figure it out. Sorry you had to go through the same troubles.
I tried building from a fresh opam switch (4.07.1) and got the following error:
I tried installing
js_of_ocaml-camlp4
but get the same error.Sorry if this is an obvious ocaml question, I'm new to the language.