Dear all
i have been trying to install both tuareg and merlin emacs
it happens that the first action always succeeds (using opam install tuareg) while the second usually recompiles tuareg with opam and:
1/ at best would finish properly but would NOT work; meaning tuareg mode would disappear and merlin would not be recognized by emacs either
2/ at worse would fail (see below)
Any help is really appreciated as i have been reinstalling tuareg at least 10 times since this morning, trying to find a way to install merlin on top :(
The following actions will be performed:
∗ install merlin 3.0.3
↻ recompile tuareg 2.0.10 [uses merlin]
↻ recompile user-setup 0.6 [uses merlin]
===== ∗ 1 ↻ 2 =====
Do you want to continue ? [Y/n] Y
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[merlin] Archive in cache
[tuareg] Archive in cache
[user-setup] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
⊘ removed user-setup.0.6
⊘ removed tuareg.2.0.10
[ERROR] The compilation of merlin failed at "make -j 4".
#=== ERROR while installing merlin.3.0.3 ======================================#
# opam-version 1.2.2
# os darwin
# command make -j 4
# path /Users/francoiscarrez/.opam/4.02.1/build/merlin.3.0.3
# compiler 4.02.1
# exit-code 2
# env-file /Users/francoiscarrez/.opam/4.02.1/build/merlin.3.0.3/merlin-75618-1872ec.env
# stdout-file /Users/francoiscarrez/.opam/4.02.1/build/merlin.3.0.3/merlin-75618-1872ec.out
# stderr-file /Users/francoiscarrez/.opam/4.02.1/build/merlin.3.0.3/merlin-75618-1872ec.err
### stdout ###
# /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.ocamlmakefile WITH_BIN_ANNOT="" WITHOUT_DEBUG="" ocamlmerlin-server
# cc -o ocamlmerlin src/frontend/ocamlmerlin.c
# ocamlc -c -ccopt " \
# -DNATIVE_CODE \
# -Isrc/analysis/ -Isrc/config/ -Isrc/extend/ -Isrc/frontend/ -Isrc/frontend/new/ -Isrc/frontend/old/ -Isrc/kernel/ -Isrc/ocaml/support/ -Isrc/ocaml/typer/ -Isrc/ocaml/typer/parsing/ -Isrc/ocaml/typer/typing/ -Isrc/ocaml/typer/utils/ -Isrc/platform/ -Isrc/sturgeon/ -Isrc/utils/ -o src/platform/platform_misc.o " src/platform/platform_misc.c
# ocamlc -c -ccopt " \
# -DNATIVE_CODE \
# -Isrc/analysis/ -Isrc/config/ -Isrc/extend/ -Isrc/frontend/ -Isrc/frontend/new/ -Isrc/frontend/old/ -Isrc/kernel/ -Isrc/ocaml/support/ -Isrc/ocaml/typer/ -Isrc/ocaml/typer/parsing/ -Isrc/ocaml/typer/typing/ -Isrc/ocaml/typer/utils/ -Isrc/platform/ -Isrc/sturgeon/ -Isrc/utils/ -o src/platform/os_ipc_stub.o " src/platform/os_ipc_stub.c
### stderr ###
# Error: This variant pattern is expected to have type
# [...]
# Hint: Did you mean Int_ty?
# make[2]: *** [src/ocaml/typer/typing/typecore.cmx] Error 2
# make[2]: *** Waiting for unfinished jobs....
# /var/folders/jm/s9hct3p52f115zs1x7pyq13h0000gn/T/camlasm891504.s:5120:75: warning: trigraph ignored [-Wtrigraphs]
# .ascii "QQQQQQQQQQQQQQQQQQQQQQQQPPOONNMMLKKJJJIIHHGGFEEDDCBBBBBBBBBBBAA@@??>>>>==<<;::99"
# ^
# 1 warning generated.
# make[1]: *** [native-code] Error 2
# make: *** [ocamlmerlin-server] Error 2
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
The following actions were aborted
∗ install tuareg 2.0.10
∗ install user-setup 0.6
The following actions failed
∗ install merlin 3.0.3
The following changes have been performed
⊘ remove tuareg 2.0.10
⊘ remove user-setup 0.6
The former state can be restored with:
opam switch import "~/.opam/4.02.1/backup/state-20170912145620.export"
Dear all i have been trying to install both tuareg and merlin emacs it happens that the first action always succeeds (using opam install tuareg) while the second usually recompiles tuareg with opam and: 1/ at best would finish properly but would NOT work; meaning tuareg mode would disappear and merlin would not be recognized by emacs either 2/ at worse would fail (see below) Any help is really appreciated as i have been reinstalling tuareg at least 10 times since this morning, trying to find a way to install merlin on top :(