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.
Question
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?
Solution
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.
OTHER TIPS
In addition to the lwt
package, you need to install the ssl
package:
opam install ssl lwt cohttp