Browse thread
camlp4 question: Mixing a printer and Ast.fold
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-03-21 (16:56) |
From: | Richard Jones <rich@a...> |
Subject: | Re: [Caml-list] camlp4 question: Mixing a printer and Ast.fold |
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. Rich. -- Richard Jones Red Hat