[Debian-med-packaging] [covid-19] Help for ocaml package needed

Shayan Doust hello at shayandoust.me
Tue Jun 9 17:44:15 BST 2020


Hello Ralf et al.,

There has been more progress with mcl[1] now. With the ocaml built
libraries, I have moved the contents of _build/ into /usr/lib/ocaml
contained in a package called "libmcl-ocaml-dev".

Unfortunately pplacer[2], which relies on ocaml mcl bindings, generates
the following message during build time: ocamlfind: Package `mcl' not
found. With more investigation, it seems like when running "ocamlfind
list" command, mcl is not listed even though the ml library contents are
under /usr/lib/ocaml. What could be the issue? Installing the META file
into this directory still has no effect.

Ocaml is new territory for me so I am still learning with regards to
ocaml packaging.

Any help is much appreciated!

Kind regards,
Shayan Doust

[1]: https://salsa.debian.org/med-team/mcl
[2]: https://salsa.debian.org/med-team/pplacer

On 04/06/2020 21:37, Ralf Treinen wrote:
> Hello Shayan,
> 
> On Thu, Jun 04, 2020 at 05:16:42PM +0100, Shayan Doust wrote:
> 
>> mcl now also generates some ocaml libraries as of today. Understanding
>> how to install these ocaml libraries (they go under a directory such as
>> /usr/local/lib/ocaml/<ocaml_version> reversing ocaml's installation
>> procedure) so that is the final obstacle to learn and fix within the
>> next couple days. I had no luck with dh_ocaml as this expects files
>> under debian/mcl and not debian/tmp.
> 
> you probably should use a debian/<package>.install file to place
> these files in the right directory (see dh_install(1)).
> 
> -Ralf.
> 
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6D7D441919D02395.asc
Type: application/pgp-keys
Size: 4983 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200609/7626b7a6/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200609/7626b7a6/attachment.sig>


More information about the Debian-med-packaging mailing list