我有opam版本1.2.2和ocaml版本4.03.0。尝试opam update -u
或opam 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并得到同样的错误。
答案 0 :(得分:0)
我意识到make uninstall
存在许可问题,并且https://apple.stackexchange.com/questions/254380/macos-sierra-invalid-active-developer-path正在运行xcode-select --install
来解决问题。