安装Ocamlbuild

时间:2017-01-01 22:40:05

标签: ocamlbuild opam

我有opam版本1.2.2和ocaml版本4.03.0。尝试opam update -uopam install mirage会在第一个错误为的位置输出输出:

[ERROR] The compilation of ocamlbuild failed at "make -f configure.make all
    OCAMLBUILD_PREFIX=/Users/josephjohnston/.opam/system
    OCAMLBUILD_BINDIR=/Users/josephjohnston/.opam/system/bin
    OCAMLBUILD_LIBDIR=/Users/josephjohnston/.opam/system/lib
    OCAML_NATIVE=true OCAML_NATIVE_TOOLS=true".

所以我尝试直接安装ocamlbuild并得到同样的错误。

1 个答案:

答案 0 :(得分:0)

我意识到make uninstall存在许可问题,并且https://apple.stackexchange.com/questions/254380/macos-sierra-invalid-active-developer-path正在运行xcode-select --install来解决问题。