Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build #42

Open
mingodad opened this issue Nov 4, 2024 · 1 comment
Open

Failed to build #42

mingodad opened this issue Nov 4, 2024 · 1 comment

Comments

@mingodad
Copy link

mingodad commented Nov 4, 2024

While trying to build on Ubuntu 18.04 with version 4.11.2:

make
for d in util mldiff otreediff ast; do \
  if ! make -k -C $d; then \
    break; \
  fi \
done
...
ocamlfind ocamlopt -package unix,camlzip,cryptokit,netzip,netstring,pxp,volt -syntax camlp4o -ppopt -level -ppopt WARN  -O3 -g -c xstring.ml
File "xstring.ml", line 50, characters 22-40:
50 | let startswith s s0 = String.starts_with ~prefix:s0 s
                           ^^^^^^^^^^^^^^^^^^
Error: Unbound value String.starts_with
../rules.mk:105: recipe for target 'xstring.cmx' failed
make[1]: *** [xstring.cmx] Error 2
...
ocamlfind ocamlopt -package unix,camlzip,cryptokit,netzip,netstring,pxp,volt  -O3 XML.mli
File "XML.mli", line 37, characters 2-21:
37 |   Xchannel.in_channel -> 'a Pxp_document.document
       ^^^^^^^^^^^^^^^^^^^
Error: Unbound module Xchannel
../rules.mk:108: recipe for target 'XML.cmi' failed
make[1]: *** [XML.cmi] Error 2
...
@codinuum
Copy link
Owner

codinuum commented Nov 7, 2024

Sorry for the inconvenience. The latest cca requires ocaml (>= 4.14.0 & < 5.0.0).
We will update README.md soon...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants