Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
camlp4 question: Mixing a printer and Ast.fold
[ Home ] [ Index: by date | by threads ]
[ Search: ]

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

As an aside, is mkcamlp4 supposed to do anything?  For me it always
prints this error:

  Cannot find file Camlp4.cma


Richard Jones
Red Hat