[Teaching] Getting OCaml set up on a mac

Louis Gesbert louis.gesbert at ocamlpro.com
Fri Jan 23 03:03:15 GMT 2015

Just released 0.2 which should fix both issues (opam tuareg mode and stalling with vim)

> It would be good to know what we have there now.  It seems like a
> minimum should be:
> - tuareg
> - merlin
> - ocp-indent
> - utop
> all read to go in emacs.  Getting vim and sublime text support would
> be lovely too, but I think less critical.  What does user-setup
> already support?

Needs more testing, but we do have those ; vim support also, but it's more lightly tested.
I didn't figure how to configure Sublime yet.

> Interesting. Concretely, what would would depext do in this context?
> I did a fresh install of a number of packages on my mac, and I didn't
> need much else, but I may have already had the dependencies in place
> via brew.

Not sure, but you can use `opam depext -l` to simply show the currently required external packages.

The one that bites most often on .deb distributions is the lack of m4, which is required by ocamlfind. It gets much more complicated as soon as you want to install e.g. gtk stuff, of course (ocaml-top...).


More information about the Teaching mailing list