[ocaml-platform] OPAM Install of ctypes-foreign fails silently

Anil Madhavapeddy anil at recoil.org
Fri Dec 4 15:37:10 GMT 2015


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