From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q0TJYec7023836 for ; Sun, 29 Jan 2012 20:34:40 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAF2eJU9QRFuw/2dsb2JhbABDhQupTYEFgXIBAQUjDwFGEAkCGAICGA4CAhQoIYgSBqZzkGmBL4Z8BgEBAQQBAQMBBAMdBAMELQICEAEFA4JyGQQbCFYEBYJRM2MElRmSUg X-IronPort-AV: E=Sophos;i="4.71,588,1320620400"; d="scan'208";a="141938157" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 29 Jan 2012 20:34:35 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.72) (envelope-from ) id 1RraWI-0005jD-9S; Sun, 29 Jan 2012 19:34:34 +0000 Date: Sun, 29 Jan 2012 19:34:34 +0000 From: "Richard W.M. Jones" To: Matej =?utf-8?B?S2/FocOtaw==?= <5764c029b688c1c0d24a2e97cd764f@gmail.com> Cc: caml-list@inria.fr Message-ID: <20120129193434.GA21962@annexia.org> References: <4F22D617.1080802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F22D617.1080802@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [Caml-list] deriving On Fri, Jan 27, 2012 at 04:51:35PM +0000, Matej Košík wrote: > Hi, > > I would like to play with / evaluate the "deriving" library: > http://code.google.com/p/deriving/wiki/Introduction > > How can I: > - create a Ocaml top-level where I can play with it? > - compile programs which take advantage of this library? > > I am on Fedora 16. > > What I have tried is this: > > $ sudo yum install ocaml-deriving-devel > $ rlwrap ocaml > # #use "topfind";; > # #require "deriving";; > No such package: %{camlp4} - Required by `deriving' This is a bug in the Fedora package: $ cat /usr/lib64/ocaml/deriving/META name="deriving" version="0.1.1a" requires="%{camlp4}" description="%{description}" Obviously those %... sequences are RPM macros which should have been replaced. Please file a bug at http://bugzilla.redhat.com Rich. -- Richard Jones Red Hat