I’m just trying to load Tyxml in the Toplevel to fine-tune some values.
And I get the following error.
It’s weird. What triggers loading in the Toplevel of ocamltoplevel.cma
, while it’s not supposed to be done: "The ocamltoplevel.cma library from compiler-libs cannot be loaded inside the OCaml toplevel".
What should I look for iin order to fix that?
# #require "tyxml";;
/home/test/.opam/4.07.01/lib/seq: added to search path
/home/test/.opam/4.07.01/lib/re: added to search path
/home/test/.opam/4.07.01/lib/re/re.cma: loaded
/home/test/.opam/4.07.01/lib/bytes: added to search path
/home/test/.opam/4.07.01/lib/uchar: added to search path
/home/test/.opam/4.07.01/lib/uutf: added to search path
/home/test/.opam/4.07.01/lib/uutf/uutf.cma: loaded
/home/test/.opam/4.07.01/lib/tyxml/functor: added to search path
/home/test/.opam/4.07.01/lib/tyxml/functor/tyxml_f.cma: loaded
/home/test/.opam/4.07.01/lib/ocaml/compiler-libs: added to search path
/home/test/.opam/4.07.01/lib/ocaml/compiler-libs/ocamlcommon.cma: loaded
/home/test/.opam/4.07.01/lib/ocaml/compiler-libs/ocamlbytecomp.cma: loaded
/home/test/.opam/4.07.01/lib/ocaml/compiler-libs/ocamltoplevel.cma: loaded
Exception:
Invalid_argument
"The ocamltoplevel.cma library from compiler-libs cannot be loaded inside the OCaml toplevel".
/home/test/.opam/4.07.01/lib/tyxml/top: added to search path
/home/test/.opam/4.07.01/lib/tyxml/top/tyxml_top.cma: loaded
Exception: Typetexp.Error (_, _, _).
/home/test/.opam/4.07.01/lib/tyxml: added to search path
/home/test/.opam/4.07.01/lib/tyxml/tyxml.cma: loaded