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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id BF544BC6B for ; Thu, 9 Aug 2007 20:31:04 +0200 (CEST) Received: from ausone.inria.fr (peray.inria.fr [128.93.8.98]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id l79IUWNf018546; Thu, 9 Aug 2007 20:30:33 +0200 Received: by ausone.inria.fr (sSMTP sendmail emulation); Thu, _d Aug 2007 20:30:10 +0200 From: "Nicolas Pouillard" Cc: Gabriel Kerneis , "O'Caml Mailing List" Subject: Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path? To: Richard Jones References: <20070802160016.GA12165@furbychan.cocan.org> <20070802162011.GB12165@furbychan.cocan.org> In-Reply-To: <20070802162011.GB12165@furbychan.cocan.org> Date: Thu, 09 Aug 2007 20:30:10 +0200 Message-Id: <1186684197-sup-2846@ert.local> User-Agent: Sup/0.1.$Revision:$ Content-Disposition: inline Content-Type: text/plain; charset=utf-8 X-j-chkmail-Score: MSGID : 46BB5D48.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 46BB5D48.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 camlp:01 parsers:01 -where:01 compilation:01 0200,:01 0100,:01 uncaught:01 cmo:01 '-i:01 ocamlc:01 -where:01 invocation:01 bug:01 subdirectory:01 When did you get this kind of error? Is your camlp4 installed in the expected directory (camlp4 -where)? If it's a manual compilation command the recommended flag is ``-I +camlp4/Camlp4Parsers''. Excerpts from Richard Jones's message of Thu Aug 02 18:20:11 +0200 2007: > On Thu, Aug 02, 2007 at 06:14:32PM +0200, Gabriel Kerneis wrote: > > Le Thu, 2 Aug 2007 17:00:16 +0100, Richard Jones a > > écrit : > > > I'm getting a bunch of errors like this: > > > > > > Camlp4: Uncaught exception: DynLoader.Error > > > ("Camlp4OCamlRevisedParser.cmo", "file not found in path") > > > > > > These can be solved by adding '-I `ocamlc > > > -where`/camlp4/Camlp4Parsers' to every invocation of camlp4 commands, > > > but I wonder why the path isn't there already. Is this a bug? > > > > -I +camlp4 doesn't work? > > No. +camlp4 seems to be on the path already, but not that > subdirectory. > > Rich. > -- Nicolas Pouillard aka Ertai