[ocaml-platform] OPAM Install of ctypes-foreign fails silently
Robert Pickering
robertfpickering at fastmail.com
Fri Dec 4 15:50:25 GMT 2015
Great, many thanks. Working as expected now :)
On Fri, Dec 4, 2015, at 04:37 PM, Anil Madhavapeddy wrote:
> On 4 Dec 2015, at 15:20, Jeremy Yallop <yallop at gmail.com> wrote:
> >
> > On 4 December 2015 at 15:13, Robert Pickering
> > <robertfpickering at fastmail.com> wrote:
> >> I'm try to install the package ctypes-foreign using OPAM. It looks like
> >> it works, but actually nothing gets installed.
> >
> > That's the intended behaviour, since ctypes-foreign is just a virtual
> > package that determines whether the foreign subpackage should built as
> > part of ctypes.
> >
> >> $ ocamlfind query ctypes-foreign
> >
> > The opam package is called 'ctypes-foreign' (with a hyphen), but the
> > ocamlfind package is called 'ctypes.foreign' (with a dot), so the
> > command you need is
> >
> > ocamlfind query ctypes.foreign
>
> I've submitted an OPAM repository pull request to make this behaviour
> more obvious in the OPAM packages:
>
> https://github.com/ocaml/opam-repository/pull/5247
>
> -Anil
More information about the Platform
mailing list