Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cohttp 0.11.0 missing dependency #116

Closed
fdagnat opened this issue Apr 17, 2014 · 2 comments
Closed

Cohttp 0.11.0 missing dependency #116

fdagnat opened this issue Apr 17, 2014 · 2 comments

Comments

@fdagnat
Copy link

fdagnat commented Apr 17, 2014

Hello,
Yesterday, the upgrade of cohttp failed on my machine (message below). It seems that I was lacking async_ssl. After installing manualy (using opam) async_ssl, the installation of cohttp went on smoothly.

So I think that there must be a missing dependency in the cohttp opam package.

===== ERROR while upgrading to cohttp.0.11.0 =====
# opam-version 1.1.1
# os           darwin
# command      make PREFIX=/Users/fabiendagnat/.opam/system
# path         /Users/fabiendagnat/.opam/system/build/cohttp.0.11.0
# compiler     system (4.01.0)
# exit-code    2
# env-file     /Users/fabiendagnat/.opam/system/build/cohttp.0.11.0/cohttp-91433-a7c577.env
# stdout-file  /Users/fabiendagnat/.opam/system/build/cohttp.0.11.0/cohttp-91433-a7c577.out
# stderr-file  /Users/fabiendagnat/.opam/system/build/cohttp.0.11.0/cohttp-91433-a7c577.err
### stdout ###
# ocamlopt.opt -o setup.bin setup.ml || ocamlopt -o setup.bin setup.ml || ocamlc -o setup.bin setup.ml
# rm -f setup.cmx setup.cmi setup.o setup.cmo
# ./setup.bin -configure --enable-lwt --enable-async --enable-lwt-unix   --prefix /Users/fabiendagnat/.opam/system
### stderr ###
# ocamlfind: Package `async_ssl' not found
# W: Field 'pkg_async_ssl' is not set: Command ''/Users/fabiendagnat/.opam/system/bin/ocamlfind' query -format %d async_ssl > '/var/folders/c7/7_1635v11xq92rqr5jntt5v40000gn/T/oasis-a7dec0.txt'' terminated with error code 2
# E: Cannot find findlib package async_ssl
# E: Failure("1 configuration error")
# make: *** [setup.data] Error 1
@rgrinberg
Copy link
Member

Can you try installing from scratch? 0.11 does have a new dependency, I'm not sure how well opam handles it.

@avsm
Copy link
Member

avsm commented Apr 17, 2014

Darn it, there was still an async_ssl reference left in the oasis file for cohttp...

@avsm avsm closed this as completed in a168582 Apr 17, 2014
@avsm avsm modified the milestone: 1.0 Stable API Nov 9, 2014
mseri added a commit to mseri/ocaml-cohttp that referenced this issue Jun 16, 2022
Cleanup and preparation for v5.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants