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?
Asked
Active
Viewed 413 times
2 Answers
4
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.

Thomas
- 5,047
- 19
- 30
-
But I did have lwt installed and even reinstalling the packages with `opam reinstall lwt cohttp` doesn't do anything. And checking the `lib` directory in `.opam` shows me that the cohtp_lwt modules are nowehere to be found. – rgrinberg Jan 20 '13 at 18:45
-
Ha damn, there is no configure option, this is handled directly by cohttp ... so you can do `opam install cohttp -b` and cd ~/.opam/
/build/lwt` and try to play with the Makefiles ... – Thomas Jan 21 '13 at 10:07
2
In addition to the lwt
package, you need to install the ssl
package:
opam install ssl lwt cohttp

Martin Jambon
- 4,629
- 2
- 22
- 28