Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2017 13:13
Show Gist options
  • Save anonymous/e05f3500c729c67909e76c8d722e632a to your computer and use it in GitHub Desktop.
Save anonymous/e05f3500c729c67909e76c8d722e632a to your computer and use it in GitHub Desktop.
$ opam install websocket
The following actions will be performed:
∗ install websocket 2.9
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[websocket] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of websocket failed at "ocaml pkg/build.ml
native=true native-dynlink=true lwt=true async=true
async_ssl=false nocrypto=false cryptokit=false test=false".
#=== ERROR while installing websocket.2.9 =====================================#
# opam-version 1.2.2
# os linux
# command ocaml pkg/build.ml native=true native-dynlink=true lwt=true async=true async_ssl=false nocrypto=false cryptokit=false test=false
# path /home/me/.opam/4.02.1/build/websocket.2.9
# compiler 4.02.1
# exit-code 10
# env-file /home/me/.opam/4.02.1/build/websocket.2.9/websocket-5909-5f1023.env
# stdout-file /home/me/.opam/4.02.1/build/websocket.2.9/websocket-5909-5f1023.out
# stderr-file /home/me/.opam/4.02.1/build/websocket.2.9/websocket-5909-5f1023.err
### stdout ###
# [...]
# ocamlfind ocamlc -c -g -bin-annot -safe-string -thread -package conduit -package async -package uri -package cohttp.async -w +3-40 -warn-error A-3-26-39-32-27-45-52-58 -I lib -I tests -o lib/websocket_async.cmi lib/websocket_async.mli
# ocamlfind ocamlopt -c -g -bin-annot -safe-string -thread -package conduit -package async -package uri -package cohttp.async -w +3-40 -warn-error A-3-26-39-32-27-45-52-58 -I lib -I tests -o lib/websocket_async.cmx lib/websocket_async.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -thread -package conduit -package async -package uri -package cohttp.async -w +3-40 -warn-error A-3-26-39-32-27-45-52-58 -I lib -I tests -o lib/websocket_async.cmx lib/websocket_async.ml
# File "lib/websocket_async.ml", line 252, characters 28-852:
# Error: The function applied to this argument has type
# 'a Async.Std.Deferred.Or_error.t ->
# ('a -> 'b Async.Std.Deferred.Or_error.t) ->
# 'b Core_kernel.Std.Or_error.t Async_kernel.Deferred0.t
# This argument cannot be applied with label ~f
# Command exited with code 2.
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
∗ install websocket 2.9
No changes have been performed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment