Installing Ocamlbuild

729 views Asked by At

I have opam version 1.2.2 and ocaml version 4.03.0. Trying opam update -u or opam install mirage gives output where the first error is:

[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".

So I tried installing ocamlbuild directly and got the same error.

1

There are 1 answers

2
Joseph Johnston On

I realized make uninstall had a license problem and followed https://apple.stackexchange.com/questions/254380/macos-sierra-invalid-active-developer-path running xcode-select --install to solve the problem.