Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-11 Thread Ashish Agarwal
(Attachment sent separately to Gerd because mailing list rejects post with it.) Hi Gerd, I've attached a minimal example that exhibits the problem. Here's my test. Confirm PG'OCaml is not installed. $ godi_list -installed | grep pgocaml (* no output *) $ cd foo (* the unpacked example

Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-09 Thread Gerd Stolpmann
Am Samstag, den 08.10.2011, 18:46 -0400 schrieb Ashish Agarwal: I get the error below after reinstalling OCaml with the latest version with GODI. My code has not changed, so I'm wondering if there is a change to ocamlbuild or ocamlfind that is causing this. The issue appears to be that

Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-09 Thread Philippe Veber
Hi Ashish this often happens to me after reinstalling godi, if I forget to install one syntax extension used in my project. Instead of having a more meaningful message like 'missing package bidule', I've got the message you report. Maybe you could double check whether you installed all extensions

Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-09 Thread Christophe Papazian
I got this problem a few days ago, and need a quick fix. Everything was installed but after an upgrade I got the same kind of error. To avoid the problem, i drop the -syntax parameter and replace it with -pp : What *should* work for me : ocamlfind ocamlc -package js_of_ocaml - syntax

Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-09 Thread Ashish Agarwal
Thanks for all the responses. The problem turned out to be the simple one mentioned by Philippe. I just forgot to install PG'Ocaml. It would be nice if findlib could give error messages about missing packages that are clearly in the dependency list. On Sun, Oct 9, 2011 at 8:23 AM, Christophe

Re: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-09 Thread Gerd Stolpmann
I'm a bit surprised. Please, can you try to isolate the problem, and send me a bug report? Gerd Am Sonntag, den 09.10.2011, 13:16 -0400 schrieb Ashish Agarwal: Thanks for all the responses. The problem turned out to be the simple one mentioned by Philippe. I just forgot to install PG'Ocaml. It

[Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set

2011-10-08 Thread Ashish Agarwal
I get the error below after reinstalling OCaml with the latest version with GODI. My code has not changed, so I'm wondering if there is a change to ocamlbuild or ocamlfind that is causing this. The issue appears to be that -package camlp4 should be included in the ocamlfind command but it is not.