On Sun, Sep 22, 2019 at 04:10:23PM +0200, Christopher Zimmermann wrote:
Hello Christopher,
> +doas pkg_add opam
> +opam init --no-setup --root ~/opam_unison \
> + --compiler ocaml-base-compiler.4.09.0
> +opam install unison lablgtk # To build without the gui, remove lablgtk
> +$(opam var bin)/unison
This doesn't quite work for me on stable. I had to do:
opam init --no-setup --root ~/opam_unison \
--compiler ocaml-base-compiler.4.02.03
i.e. an older version of the compiler (4.09.0 doesn't seem to build on
stable, although I don't understand the error message). And then:
opam install --root ~/opam_unison unison
$(opam var --root=~/opam_unison bin)/unison
I wonder if you had the OPAM_ROOT variable set which is why it worked for
you?
Laurie