From: "Ian Pye" <ianpye@gmail.com>
To: "Sylvain Le Gall" <sylvain@le-gall.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: How to compile using sexplib?
Date: Thu, 12 Jun 2008 15:02:30 -0700 [thread overview]
Message-ID: <11ff1bd70806121502s281d1465p207f3ed0f5c05485@mail.gmail.com> (raw)
In-Reply-To: <slrng52tu1.6bg.sylvain@gallu.homelinux.org>
Hi,
I am trying the above solution, and getting this:
ocamlfind ocamlc -package
unix,str,vec,mapmin,hashtbl_bounded,fileinfo,intvmap,extlib,mysql,sexplib.syntax
-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.
Ian
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
>
next prev parent reply other threads:[~2008-06-13 8:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 16:44 Luca de Alfaro
2008-06-12 17:28 ` [Caml-list] " Gerd Stolpmann
2008-06-12 18:42 ` Markus Mottl
2008-06-12 19:23 ` Sylvain Le Gall
2008-06-12 22:02 ` Ian Pye [this message]
2008-06-12 22:31 ` [Caml-list] " Sylvain Le Gall
2008-06-12 19:17 ` [Caml-list] " Markus Mottl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11ff1bd70806121502s281d1465p207f3ed0f5c05485@mail.gmail.com \
--to=ianpye@gmail.com \
--cc=caml-list@inria.fr \
--cc=sylvain@le-gall.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox