How to build Tezos on MacOS (abandoned)
On MacOS Catalina
brew install libev pkg-config
git clone email@example.com:tezos/tezos.git
make build-deps is successfully executed.
make is failed due to unrecognized ocaml pkgs. (They are installed by Opam but not recognized by ocamlfind)
pkgs="astring base64 bigstring cohttp-lwt cohttp-lwt-unix digestif digestif.c ezjsonm fmt ipaddr ipaddr.unix jsonm logs logs.fmt lwt lwt.unix lwt_log lwt_log.core mtime mtime.clock.os ocplib-endian ocplib-endian.bigstring ocplib-ocamlres ptime ptime.clock.os re re.str rresult tls uri"\
for pkg in $pkgs; do
ocamlfind query $pkg 2>> $FILE
if test -f "$FILE"; then
opam install $pkgs
As per debug command above, some of C/Unix dependencies are not recognized by Opam.
ERROR Package digestif has no version c. ERROR Package ipaddr has no version unix. ERROR Package logs has no version fmt. ERROR Package lwt has no version unix. ERROR Package lwt_log has no version core. ERROR Package mtime has no version clock.os. ERROR Package ocplib-endian has no version bigstring. ERROR No package named ocplib-ocamlres found. ERROR Package ptime has no version clock.os. ERROR Package re has no version str.