Bug#602410: libcore-ocaml-dev: META doesn't mention that core requires threads.
Le 04/11/2010 18:15, Guillaume Yziquel a écrit :
> But the 'archive' statements should probably require the 'mt' tag. And throwing an error in the absence of threads.
When I compile an empty file this way:
ocamlfind ocamlc -package core -linkpkg toto.ml
I get the following error message:
ocamlfind: Error from package `threads': Missing -thread or -vmthread
switch
Isn't that clear enough? FYI, this error is thrown by the following line:
error(-mt) = "Missing -thread or -vmthread switch"
But unfortunately, error directives seem to be ignored in the toplevel.
I guess this why you've submitted this bugreport? Do you know a solution
to this?
> However, this is a subotpimal situation, as there are many declarations and interfaces that one would wish to use even in the absence of threads. A much better situation would be to have a non-multithreaded version of core, that would, for example, not include the Timer module (that requires the Condition module and hence threads). Not sure however if this is a Debian issue or an upstream issue.
It looks like upstream. The META file is also upstream, by the way.
Cheers,
--
Stéphane
Reply to: