ocaml / dune

A composable build system for OCaml.
https://dune.build/
MIT License
1.63k stars 409 forks source link

Installing Dune on mac without opam fails. #10846

Open QinxiangCao opened 2 months ago

QinxiangCao commented 2 months ago

I followed the instruction by "make release" and "make install". But I get:

$ make install
./_boot/dune.exe install    dune
Error: The mandir installation directory is unknown.
Hint: It can be specified with '--prefix' or by setting '--mandir'
make: *** [install] Error 1

Specifications

Mac version: 12.5.1 ocaml version: 4.14.2

QinxiangCao commented 2 months ago

I find that I can solve the problem by

$ ./dune.exe install --prefix /usr/local dune

I propose to add some related instructions.