[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#557538: libbatteries-ocaml-dev: Can't compile : ocamlfind: Package `bin_prot.syntax' not found



On Sun, Nov 22, 2009 at 06:37:48PM +0100, Florent Fourcot wrote:
> probably since the last version of libbatteries, I obtain an error when I try to use batteries. 
> The error is a simple : 
> ocamlfind: Package `bin_prot.syntax' not found - Required by `batteries.bin_prot.syntax'

In turned out this was a corner case in dh-ocaml which the package was
not considering. bin_prot is used by batteries only as a (required)
syntax extension and not as a library at all. This in turn means that
there is no reference to any object of bin_prot in any caml object
shipped by batteries and, finally, that the dependency on bin_prot is
not inferrable by dh-ocaml (which currently knows nothing about the
mapping between findlib packages and Debian packages).

I've hence added explicitly the missing dependency on
libbin-prot-camlp4-dev to ocaml batteries. The fixed package has just
been uploaded to unstable.

In the mean time, as a work around, you can install by hand
"libbin-prot-camlp4-dev" to fix your compilation nuisances.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

Attachment: signature.asc
Description: Digital signature


Reply to: