Вопрос

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
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top