I'm trying to install objective-ocaml on my Mac to compile another application (Unison) I would like to install however I'm getting errors doing so.
imrans-mac:/ Imran$ brew doctor Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: objective-caml imrans-mac:/ Imran$ brew link objective-caml Linking /usr/local/Cellar/objective-caml/4.01.0... Warning: Could not link objective-caml. Unlinking... Error: Could not symlink file: /usr/local/Cellar/objective-caml/4.01.0/lib/ocaml/weak.p.cmx Target /usr/local/lib/ocaml/weak.p.cmx already exists. You may need to delete it. To force the link and overwrite all other conflicting files, do: brew link --overwrite formula_name To list all files that would be deleted: brew link --overwrite --dry-run formula_name imrans-mac:/ Imran$ brew link --overwrite objective-ocaml Error: No such keg: /usr/local/Cellar/objective-ocaml