我正在尝试在 linux 虚拟机 (vmware) 中安装 Ocaml ide Ocaml-top。当我找到它的依赖项之一,ocp-build 时,我收到以下错误:
The compilation of ocp-build failed at "make".
opam version 1.2.2
os linux
command make
compiler system (4.02.3)
exit code 2
[...]
Makefile:277: recipe for target 'libs/ocplib/ocamllexer.ml' failed
Makefile:160: recipe for target 'boot/ocp-build.asm' failed
make[1]: ocamllex.opt: Command not found
make[1]: ***[libs/ocplib-lang/ocamllexer.ml] Error 127
make: *** [boot/ocp-build.asm] Error 2
How to I fix this and get Ocaml-Top installed?