From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p98Mkh6L009601 for ; Sun, 9 Oct 2011 00:46:44 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgABAELSkE5KfVI0imdsb2JhbABDqBgIIgEBAQoJDQcSBiGBbAIsARseAxIJAQZdAREBBQEiNaAmglgKi1GCYINzPYhvAgQGhz0Ek3eNJT2ECw X-IronPort-AV: E=Sophos;i="4.68,509,1312149600"; d="scan'208";a="123333333" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 09 Oct 2011 00:46:38 +0200 Received: by wwj40 with SMTP id 40so8554854wwj.9 for ; Sat, 08 Oct 2011 15:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=Vo4aUtMHu9abnvOMLzM2IdRvL9KOQVKy7V2D6Kdan5U=; b=tDi1yxXtpWfFafZUzv6T2cAPkOPkJGDXH4B2SkYNQoZO1f4AwyUZJpy29YFOP+HBin dUB4mDeytTHv76zsk4LEq6mvmF57ZDdEsiBzcgygctmtX3wuJhGNnN2Bd7mS48mr5afB xDfmXe3RuPd0uQq7f134HMju21CFVj6joypQ0= Received: by 10.227.12.18 with SMTP id v18mr4282923wbv.68.1318113998091; Sat, 08 Oct 2011 15:46:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.96.129 with HTTP; Sat, 8 Oct 2011 15:46:18 -0700 (PDT) From: Ashish Agarwal Date: Sat, 8 Oct 2011 18:46:18 -0400 Message-ID: To: Caml List Content-Type: multipart/alternative; boundary=002215975fe2a1375804aed1543f Subject: [Caml-list] ocamlfind: When using -syntax, the META variable 'preprocessor' must be set --002215975fe2a1375804aed1543f Content-Type: text/plain; charset=ISO-8859-1 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. The section "Does Findlib support camlp4" in the findlib User's Guide discusses the 'preprocessor' variable, but I can't figure out how exactly how to adjust my META file or whether I really need to since it was working before. ocamlbuild sequme.cma sequme.cmxa sequme.cmxs Finished, 0 targets (0 cached) in 00:00:00. + ocamlfind ocamldep -package batteries -package biocaml -package netclient -package netstring -package shell -package sqlite3 -syntax camlp4o -modules sequme/bowtie.mli > sequme/bowtie.mli.depends ocamlfind: When using -syntax, the META variable 'preprocessor' must be set Command exited with code 2. --- META --- requires = "netstring shell netclient batteries biocaml pgocaml" version = "0.0" archive(byte) = "sequme.cma" archive(native) = "sequme.cmxa" --002215975fe2a1375804aed1543f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 cha= nge to ocamlbuild or ocamlfind that is causing this. The issue appears to b= e that -package camlp4 should be included in the ocamlfind command but it i= s not.

The section "Does Findlib support camlp4" in = the findlib User's Guide discusses the 'preprocessor' variable,= but I can't figure out how exactly how to adjust my META file or wheth= er I really need to since it was working before.

ocamlbuild sequme.cma sequme.cmxa sequme.cmxs
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamldep= -package batteries -package biocaml -package netclient -package netstring = -package shell -package sqlite3 -syntax camlp4o -modules sequme/bowtie.mli = > sequme/bowtie.mli.depends
ocamlfind: When using -syntax, the META variable 'preprocessor'= ; must be set
Command exited with code 2.

--- META ---
requires =3D "netstring shell netclient = batteries biocaml pgocaml"
version =3D "0.0"
archive(byte) =3D "sequme.c= ma"
archive(native) =3D "sequme.cmxa"
<= div>
--002215975fe2a1375804aed1543f--