Package `rresult' not found
Closed this issue · 3 comments
sgrove commented
opam update && opam pin add graphql .
fails with:
#=== ERROR while installing graphql.~unknown ==================================#
# opam-version 1.2.2
# os darwin
# command ocaml pkg/pkg.ml build --pinned true --with-lwt false --with-async false
# path /Users/s/.opam/graphql2/build/graphql.~unknown
# compiler 4.03.0
# exit-code 1
# env-file /Users/s/.opam/graphql2/build/graphql.~unknown/graphql-90363-331a6b.env
# stdout-file /Users/s/.opam/graphql2/build/graphql.~unknown/graphql-90363-331a6b.out
# stderr-file /Users/s/.opam/graphql2/build/graphql.~unknown/graphql-90363-331a6b.err
### stdout ###
# ocamlfind ocamldep -package angstrom,sexplib,ppx_sexp_conv,ppx_sexp_value,yojson,rresult -modules src/graphql.ml > src/graphql.ml.depends
# + ocamlfind ocamldep -package angstrom,sexplib,ppx_sexp_conv,ppx_sexp_value,yojson,rresult -modules src/graphql.ml > src/graphql.ml.depends
# ocamlfind: Package `rresult' not found
# Command exited with code 2.
### stderr ###
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tag' 'debug'
# '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
# 'README.md' 'src/graphql.a' 'src/graphql.cmxs' 'src/graphql.cmxa'
# 'src/graphql.cma' 'src/graphql_schema.cmx' 'src/graphql_schema.cmi'
# 'src/graphql_schema.mli' 'src/graphql_parser.cmx'
# 'src/graphql_parser.cmi' 'src/graphql_parser.mli' 'src/graphql.cmx'
# 'src/graphql.cmi' 'src/graphql.mli']: exited with 10
``
First doing `opam install rresult` and then retrying seems to fix it.
sgrove commented
Likewise, for the examples, first need to install a few packages: opam install cohttp lwt yojson
!
andreas commented
Thanks, you're right. I'll update the instructions!
andreas commented
I've fixed the missing rresult
dependency now.