caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Merlin issue with sedlex
@ 2016-11-14 12:23 Christoph Höger
  2016-11-14 13:54 ` Frédéric Bour
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Höger @ 2016-11-14 12:23 UTC (permalink / raw)
  To: caml users


[-- Attachment #1.1: Type: text/plain, Size: 1029 bytes --]

Dear all,

I am running Merlin in order to code OCaml in emacs:

> The Merlin toolkit version 2.5.1, for Ocaml 4.04.0 (from shell)

Since today, I get a ton of error messages (that make coding nearly
impossible):

> Merlin failed with error: "Error: Error while running external
preprocessor Command line: /home/choeger/.opam/4.04.0/lib/sedlex
/./ppx_sedlex '/tmp/camlppxf365bd' '/tmp/camlppxc0ab4a' 1>/dev/null
2>/dev/null"

This file then seems to have the wrong version. I also find a file
/tmp/camlppx.lastfail:

> /tmp/camlppx.lastfail: OCaml abstract syntax tree implementation file
(Version 019)

Is this a known bug or do I have some problem with my setup?

Both sedlex and merlin seem up-to-date.

thanks in advance,

Christoph
-- 
Christoph Höger

Technische Universität Berlin
Fakultät IV - Elektrotechnik und Informatik
Übersetzerbau und Programmiersprachen

Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin

Tel.: +49 (30) 314-24890
E-Mail: christoph.hoeger@tu-berlin.de


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Merlin issue with sedlex
  2016-11-14 12:23 [Caml-list] Merlin issue with sedlex Christoph Höger
@ 2016-11-14 13:54 ` Frédéric Bour
  0 siblings, 0 replies; 2+ messages in thread
From: Frédéric Bour @ 2016-11-14 13:54 UTC (permalink / raw)
  To: Christoph Höger; +Cc: caml users

Dear Christoph,

The released version of Merlin doesn’t support 4.04.0 yet (but I didn’t put the right constraints in opam file).
A new release is expected this week, in the meantime you can use the development version:

opam pin add merlin --dev-repo

Cheers,
Fred

> Le 14 nov. 2016 à 13:23, Christoph Höger <christoph.hoeger@tu-berlin.de> a écrit :
> 
> Dear all,
> 
> I am running Merlin in order to code OCaml in emacs:
> 
>> The Merlin toolkit version 2.5.1, for Ocaml 4.04.0 (from shell)
> 
> Since today, I get a ton of error messages (that make coding nearly
> impossible):
> 
>> Merlin failed with error: "Error: Error while running external
> preprocessor Command line: /home/choeger/.opam/4.04.0/lib/sedlex
> /./ppx_sedlex '/tmp/camlppxf365bd' '/tmp/camlppxc0ab4a' 1>/dev/null
> 2>/dev/null"
> 
> This file then seems to have the wrong version. I also find a file
> /tmp/camlppx.lastfail:
> 
>> /tmp/camlppx.lastfail: OCaml abstract syntax tree implementation file
> (Version 019)
> 
> Is this a known bug or do I have some problem with my setup?
> 
> Both sedlex and merlin seem up-to-date.
> 
> thanks in advance,
> 
> Christoph
> -- 
> Christoph Höger
> 
> Technische Universität Berlin
> Fakultät IV - Elektrotechnik und Informatik
> Übersetzerbau und Programmiersprachen
> 
> Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin
> 
> Tel.: +49 (30) 314-24890
> E-Mail: christoph.hoeger@tu-berlin.de
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-14 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 12:23 [Caml-list] Merlin issue with sedlex Christoph Höger
2016-11-14 13:54 ` Frédéric Bour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).