On Sun, 22 Sep 2019 18:26:54 +0100
Laurence Tratt <lau...@tratt.net> wrote:

> 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?

Indeed. You will neep OPAM_ROOT set or add another --root option. I'll
add that.

> 
> Laurie
> 



-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1

Attachment: pgpk4RhMkQpSV.pgp
Description: OpenPGP digital signature

Reply via email to