Re: ocaml-findlib: to X or not to X
> Just one last question though, how will findlib react if you have a package
> which needs one of the X components, and it is not installed ?
The "ocamlfind list" command should list also the uninstalled package
(since it looks only for the META files). And all the other commands
will invoke ocamlc with the right options (e.g. -I ...), making the
compiler complain that it doesn't find one or more modules.
The only annoying thing is that "ocamlfind list" can be used by configure
scripts to detect the existence of a package (as an upstream author I do
that, for instance). Since this information is no longer reliable the
configure scripts could fail and a debian package could become unbuildable.
[ However, I suppose that this is not the case right now. ]
Cheers,
C.S.C.
--
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
Doctor in Computer Science, University of Bologna
E-mail: sacerdot@cs.unibo.it
http://www.cs.unibo.it/~sacerdot
----------------------------------------------------------------
Reply to: