简体   繁体   English

ocamlbuild从路径中丢失

[英]ocamlbuild missing from path

When I run ocaml --version I get The OCaml toplevel, version 4.07.1 . 当我运行ocaml --version ,会得到The OCaml toplevel, version 4.07.1 But when I try ocamlbuild --version I get the following error message: 但是当我尝试ocamlbuild --version ,出现以下错误消息:

Command 'ocamlbuild' not found, but can be installed with:

sudo apt install ocamlbuild

How is that possible? 那怎么可能?

Ocamlbuild is not bundled with the OCaml compiler since OCaml 4.03 . 自OCaml 4.03起,Ocamlbuild尚未与OCaml编译器捆绑在一起。 You may also want to have a look at dune as an ocamlbuild alternative. 您可能还想看看作为ocamlbuild替代品的沙丘

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM