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.4 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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 8947ABBCA for ; Fri, 21 Mar 2008 18:04:31 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEADaH40fAXQIn/2dsb2JhbACKTZ80 X-IronPort-AV: E=Sophos;i="4.25,536,1199660400"; d="asc'?scan'208";a="8672582" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 21 Mar 2008 18:04:31 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m2LH4VB5009950 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 21 Mar 2008 18:04:31 +0100 X-IronPort-AV: E=Sophos;i="4.25,536,1199660400"; d="asc'?scan'208";a="9798643" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail1-relais-roc.national.inria.fr with SMTP; 21 Mar 2008 18:04:30 +0100 Received: by ausone.inria.fr (sSMTP sendmail emulation); Fri, _d Mar 2008 18:03:15 +0100 From: "Nicolas Pouillard" Cc: OCaml Mailing List Subject: Re: [Caml-list] camlp4 question: Mixing a printer and Ast.fold To: "Richard W.M. Jones" References: <20080321150639.GA29482@annexia.org> <1206113824-sup-4922@port-ext16.ensta.fr> <20080321164430.GC29482@annexia.org> <1206118122-sup-8330@port-ext16.ensta.fr> <20080321165624.GD29482@annexia.org> In-Reply-To: <20080321165624.GD29482@annexia.org> Date: Fri, 21 Mar 2008 18:03:15 +0100 Message-Id: <1206118952-sup-1094@port-ext16.ensta.fr> User-Agent: Sup/git Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1206118995-979441-647-4276-8-="; micalg="pgp-sha1" MIME-Version: 1.0 X-Miltered: at concorde with ID 47E3EA9F.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 0100,:01 camlp:01 ocamlc:01 lib:01 cmo:01 gettext:01 cmo:01 gettext:01 wrote:01 caml-list:01 cma:01 bin:01 ast:02 binary:02 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" --=-1206118995-979441-647-4276-8-= Content-Type: text/plain; charset=UTF-8 Excerpts from Richard W.M. Jones's message of Fri Mar 21 17:56:25 +0100 2008: > On Fri, Mar 21, 2008 at 05:50:00PM +0100, Nicolas Pouillard wrote: > > Excerpts from Richard W.M. Jones's message of Fri Mar 21 17:44:30 +0100 2008: > > > I'm trying to link the camlp4 module into a binary, by doing: > > > > > > ocamlc -I +camlp4 camlp4lib.cma Camlp4Bin.cmo pr_gettext.cmo \ > > > -o ocaml-xgettext > > > > > > but my binary always prints out: > > > > > > Failure: "No implementation printer" > > > > > > Apparently I need to somehow register the printer as well? I can't > > > work out how to do that though. > > > > What version of pr_gettext are you using? > > Well, no version -- I'm trying to make Sylvain Le Gall's pr_gettext > work with camlp4 3.10. It has to be linked into a standalone binary > called ocaml-xgettext, but I can't work out how to do that. > > Previously Sylvain was using mkcamlp4, but that is broken. I mean between different proposals for pr_gettext.ml, in this thread. -- Nicolas Pouillard aka Ertai --=-1206118995-979441-647-4276-8-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkfj6lMACgkQj+FCNw9dwLl4xwCgmdsPUz4qjv1txdJhaTJwKUZ/ nAgAniIEUgECLsvVv1yP5D8Ui39gWWMw =A4p2 -----END PGP SIGNATURE----- --=-1206118995-979441-647-4276-8-=--