From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 065C4BBAF for ; Thu, 12 Jun 2008 21:24:18 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgBAB0VUUjAXQImiGdsb2JhbACSHgEBAQ8gnGQ X-IronPort-AV: E=Sophos;i="4.27,633,1204498800"; d="scan'208";a="13898374" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 12 Jun 2008 21:23:58 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m5CJNsF0006452 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 12 Jun 2008 21:23:57 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwBAM4UUUhQW+UCgWdsb2JhbACSHgEBECAEnF8 X-IronPort-AV: E=Sophos;i="4.27,633,1204498800"; d="scan'208";a="11958265" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 Jun 2008 21:23:55 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K6sOo-0002Zy-LT for caml-list@inria.fr; Thu, 12 Jun 2008 19:23:54 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jun 2008 19:23:54 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jun 2008 19:23:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: How to compile using sexplib? Date: Thu, 12 Jun 2008 19:23:45 +0000 (UTC) Message-ID: References: <28fa90930806120944p4cf312e0w88d74c12251ed046@mail.gmail.com> <1213291687.10641.25.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Miltered: at discorde with ID 485177CA.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 markus:01 mottl:01 markus:01 mottl:01 gerd:01 stolpmann:01 ocamlfind:01 camlp:01 ocamlfind:01 gerd:01 ocamlc:01 -package:01 syntax:01 camlp:01 Hello, On 12-06-2008, Markus Mottl wrote: > On Thu, Jun 12, 2008 at 1:28 PM, Gerd Stolpmann 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