Skip to content

Instantly share code, notes, and snippets.

@sgrove
Last active December 13, 2015 21:36
Show Gist options
  • Save sgrove/a2e66f338ad69f593acb to your computer and use it in GitHub Desktop.
Save sgrove/a2e66f338ad69f593acb to your computer and use it in GitHub Desktop.
$ corebuild -pkg lwt.ppx websocket_lwt.native
+ ocamlfind ocamldep -syntax camlp4o -package lwt.ppx -package bin_prot.syntax -package sexplib.syntax,comparelib.syntax,fieldslib.syntax,variantslib.syntax -package core -modules websocket_lwt.ml > websocket_lwt.ml.depends
File "websocket_lwt.ml", line 51, characters 5-8:
Parse error: [sequence] expected after "try" (in [expr])
File "websocket_lwt.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/usr/local/lib/ocaml/camlp4' '-I' '/Users/s/.opam/system/lib/type_conv' '-I' '/usr/local/lib/ocaml' '-I' '/usr/local/lib/ocaml' '-I' '/Users/s/.opam/system/lib/bin_prot' '-I' '/Users/s/.opam/system/lib/bin_prot' '-I' '/Users/s/.opam/system/lib/sexplib' '-I' '/Users/s/.opam/system/lib/sexplib' '-I' '/Users/s/.opam/system/lib/comparelib' '-I' '/Users/s/.opam/system/lib/comparelib' '-I' '/Users/s/.opam/system/lib/fieldslib' '-I' '/Users/s/.opam/system/lib/fieldslib' '-I' '/Users/s/.opam/system/lib/variantslib' '-I' '/Users/s/.opam/system/lib/variantslib' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pa_type_conv.cma' 'unix.cma' 'bigarray.cma' 'bin_prot.cma' 'pa_bin_prot.cma' 'sexplib.cma' 'pa_sexp_conv.cma' 'comparelib.cma' 'pa_compare.cma' 'fieldslib.cma' 'pa_fields_conv.cma' 'variantslib.cma' 'pa_variants_conv.cma' 'websocket_lwt.ml' > /var/folders/dl/3vkt0hs5045_cvfcyzmjyr480000gn/T/ocamlpp70fdeb
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment