rgrinberg
rgrinberg

Reputation: 9878

How to install Cohttp with lwt support?

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?

Upvotes: 4

Views: 422

Answers (2)

Thomas
Thomas

Reputation: 5048

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.

Upvotes: 4

Martin Jambon
Martin Jambon

Reputation: 4939

In addition to the lwt package, you need to install the ssl package:

opam install ssl lwt cohttp

Upvotes: 2

Related Questions