Linux build fail
apease opened this issue · 7 comments
I'm attempted to build on Ubuntu Linux and get the following
~/workspace/zipperposition$ make
File "src/core/Util.ml", line 15, characters 2-18:
15 | Mtime.Span.to_us (Mtime.span start_ t)
^^^^^^^^^^^^^^^^
Error: Unbound value Mtime.Span.to_us
Sorry if this is a basic issue. I'm new to OCAML too
Thanks! I tried that but now get other errors
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [mtime.1.4.0: dl]
⬇ retrieved mtime.1.4.0 (https://opam.ocaml.org/cache)
⊘ removed mtime.2.0.0
∗ installed mtime.1.4.0
Done.
$
$ make
File "src/core/Binder.ml", line 17, characters 22-40:
17 | let compare (a:t) b = Pervasives.compare a b
^^^^^^^^^^^^^^^^^^
Error: Unbound module Pervasives
...
[many more errors in Pervasives]
I'm attempting to follow the default README instructions using opam
Try an older version of OCaml, for example opam switch create ocaml.4.08.0
Commit d274d65 should fix this issue - if you install from a current master, it should work now.
Please reopen if there are still issues on a recent-ish OCaml.