Skip to content

Instantly share code, notes, and snippets.

@atn34
Created August 28, 2013 04:57
Show Gist options
  • Save atn34/6362269 to your computer and use it in GitHub Desktop.
Save atn34/6362269 to your computer and use it in GitHub Desktop.
error trying to install merlin with opam
The following actions will be performed:
- install merlin.1.3.1
1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
=-=-= Installing merlin.1.3.1 =-=-=
The archive for merlin.1.3.1 is in the local cache.
Extracting /home/andrew/.opam/archives/merlin.1.3.1+opam.tar.gz.
Building merlin.1.3.1:
./configure --prefix /home/andrew/.opam/4.00.1
make
make install
The compilation of merlin.1.3.1 failed.
Uninstalling merlin.1.3.1:
make uninstall
==== ERROR [while installing merlin.1.3.1] ====
# opam-version 0.9.6 (latest-103-g955b7ca)
# os linux
# command make
# path /home/andrew/.opam/4.00.1/build/merlin.1.3.1
# exit-code 2
# env-file /home/andrew/.opam/4.00.1/build/merlin.1.3.1/merlin-ffb3fd.env
# stdout-file /home/andrew/.opam/4.00.1/build/merlin.1.3.1/merlin-ffb3fd.out
# stderr-file /home/andrew/.opam/4.00.1/build/merlin.1.3.1/merlin-ffb3fd.err
### stdout ###
...[truncated]
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -modules src/typing/typedtree.mli > src/typing/typedtree.mli.depends
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamlc -c -I src/typing -I src -I src/utils -I src/parsing -o src/typing/env.cmi src/typing/env.mli
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamlc -c -I src/typing -I src -I src/utils -I src/parsing -o src/typing/typedtree.cmi src/typing/typedtree.mli
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -package menhirLib -package yojson -package unix -package findlib -modules src/chunk.mli > src/chunk.mli.depends
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -package menhirLib -package yojson -package unix -package findlib -modules src/history.mli > src/history.mli.depends
/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -package menhirLib -package yojson -package unix -package findlib -modules src/outline.mli > src/outline.mli.depends
/home/andrew/.opam/4.00.1/bin/menhir --raw-depend --ocamldep '/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -modules' src/chunk_parser.mly > src/chunk_parser.mly.depends
+ /home/andrew/.opam/4.00.1/bin/menhir --raw-depend --ocamldep '/home/andrew/.opam/4.00.1/bin/ocamlfind ocamldep -modules' src/chunk_parser.mly > src/chunk_parser.mly.depends
Error: /home/andrew/.opam/4.00.1/lib/menhir/standard.mly: No such file or directory
Command exited with code 1.
### stderr ###
make: *** [ocamlmerlin.native] Error 10
'opam install merlin' failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment