English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
How to compile using sexplib?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-06-13 (08:23)
From: Ian Pye <ianpye@g...>
Subject: Re: [Caml-list] Re: How to compile using sexplib?

I am trying the above solution, and getting this:

ocamlfind ocamlc -package
-syntax camlp4o -I ../../batch/analysis -g -c online_db.ml

File "online_db.ml", line 44, characters 27-31:
Failure: "Pa_type_conv: path not set"
Preprocessor error

At least its something different.


On Thu, Jun 12, 2008 at 12:23 PM, Sylvain Le Gall <sylvain@le-gall.net> wrote:
> Hello,
> On 12-06-2008, Markus Mottl <markus.mottl@gmail.com> wrote:
>> On Thu, Jun 12, 2008 at 1:28 PM, Gerd Stolpmann <info@gerd-stolpmann.de> wrote:
>>> ocamlfind includes some mechanics to drive camlp4, and I am pretty sure
>>> sexplib configures that.
>> Since we do not use packages in our build tree (all used libraries are
>> part of the tree anyway), we have hardly tested the ocamlfind rules in
>> the sexplib META file.  I'm pretty sure they are not complete or
>> correct.  I don't know enough about ocamlfind to quickly solve this
>> issue. If anybody more knowledgeable (Gerd? ;) knows what to add to
>> the META file to make this work, I'd be glad to update the sexplib
>> distribution quickly.
> META in sexplib310 (3.7.4, the one distributed in debian unstable), is
> all you need.
> You just have to to compile using
> "ocamlfind ocamlc .... -package sexplib.syntax -syntax camlp4o ..."
> At least, it works for me.
> Regards,
> Sylvain Le Gall
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs