Re: unable to install async_graphics with opam
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CALScVYmNBMASYmb-KWEVT2LDPdrdj-6d0ExzTsCxuT82y-OszQ@mail.gmail.com> |
Hi The first error is an ocamlfind error, the second message is from Opam. So it seems that opam has marked async as installed but something in the installation went wrong anyway (which could explain why ocamlfind does not find it) you should try `opam remove async` and the retry 'opam install async_graphics' Cheers Seb On Sat, Jun 7, 2014 at 3:03 AM, Jean Saint-Remy [email protected] [ocaml_beginners] <[email protected]> wrote: > > > Hi, > > I am not sure why 'opam install async_graphics' fails. The error message > says > > /usr/bin/ocamlfind ocamldep -package async -package graphics -modules > async_graphics.mli > async_graphics.mli.depends > + /usr/bin/ocamlfind ocamldep -package async -package graphics -modules > async_graphics.mli > async_graphics.mli.depends > ocamlfind: Package `async' not found > Command exited with code 2. > > but > > opam install async returns > > [NOTE] Package async is already installed (current version is 108.08.00). > > Is there a --force option or some other unmet dependency that I should be > trying? The ocaml version I am using is 3.12.1 (which opam allows you to > have many different ones). Maybe ocamlfind needs to be told where to find > the async library? > > Thanks in advance, > > jean > > > > >