lwt
is an optional dependency of cohttp
. So to activate lwt support, you'll simply need to install it:
opam install ssl lwt cohttp
Remark: you can install lwt later on and OPAM will recompile cohttp with the right options.
質問
Running opam install cohttp
does not provide me with cohttp.lwt
in findlib. Am I missing a command line option to install with lwt support?
解決
lwt
is an optional dependency of cohttp
. So to activate lwt support, you'll simply need to install it:
opam install ssl lwt cohttp
Remark: you can install lwt later on and OPAM will recompile cohttp with the right options.
他のヒント
In addition to the lwt
package, you need to install the ssl
package:
opam install ssl lwt cohttp