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

Robert Pickering robertfpickering at fastmail.com
Fri Dec 4 15:13:23 GMT 2015


Hello,

I'm try to install the package ctypes-foreign using OPAM. It looks like
it works, but actually nothing gets installed.

This is the command I used:

$ opam install ctypes ctypes-foreign
The following actions will be performed:
  ∗  install ctypes-foreign 0.4.0
  ∗  install ctypes         0.4.1
===== ∗  2 =====

=-=- Gathering sources
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ctypes] Archive in cache

=-=- Processing actions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗  installed ctypes-foreign.0.4.0
∗  installed ctypes.0.4.1
Done.

It looks like "ctypes" worked:

$ ocamlfind query ctypes
/home/robert/.opam/system/lib/ctypes


But ctypes-foreign wasn't installed:

$ ocamlfind query ctypes-foreign
ocamlfind: Package `ctypes-foreign' not found

I can see a directory /home/robert/.opam/system/lib/ctypes-foreign is
created, but it's empty.

I'm new to OPAM, so not sure how to begin debugging this. Any hints much
appreciated.

Many thanks,
Rob


More information about the Platform mailing list