我有 ocaml 3.12,一年没用,现在从 git 升级到 4.03(自己编译)。我在网上看到一些评论说这个版本不包括camlp4o,我的是2010年的,当时我还没有安装ocaml。问题是我因此无法编译程序。我在硬盘驱动器上转到该文件,我没有发现任何问题,但是如果我尝试从终端执行,我会得到这个
79-116-202-72:ocaml Cristi$ camlp4o
Fatal error: the file '/usr/local/bin/camlp4o' is not a bytecode executable file
其他 caml 文件也是如此。希望这能解决我的问题,我该如何更新它们?我正在使用 osx。谢谢!