Bug#557538: libbatteries-ocaml-dev: Can't compile : ocamlfind: Package `bin_prot.syntax' not found
>
> Can you please post the actual compilation line you are using? Also a
> test file on which you can reproduce the problem would help.
>
Of course. I'm using ocamlbuild, with exactly the same myocamlbuild.ml
as the example /usr/share/doc/libbatteries-ocaml-dev/myocamlbuild.ml.
My _tags file is very simple :
$ cat _tags
<*>: use_batteries
My compilation line (and the complete result) is :
$ ocamlbuild test.native
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamldep -package
batteries.pa_openin.syntax,batteries.pa_where.syntax,batteries.pa_batteries.syntax,batteries.pa_comprehension.syntax,batteries.pa_strings.syntax
-package batteries -syntax camlp4o -modules test.ml > test.ml.depends
ocamlfind: Package `bin_prot.syntax' not found - Required by
`batteries.bin_prot.syntax'
My test.ml is actually empty. Every *.ml give the same result.
Reply to: