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 p6M4bCtp007144 for ; Fri, 22 Jul 2011 06:37:12 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkBANv9KE68pSHKmWdsb2JhbAAoK6dVAQEBAQEICwsHFCWIfAIkvg2FYF8Eo08 X-IronPort-AV: E=Sophos;i="4.67,245,1309730400"; d="scan'208";a="113667532" Received: from 13.mo3.mail-out.ovh.net (HELO mo3.mail-out.ovh.net) ([188.165.33.202]) by mail1-smtp-roc.national.inria.fr with ESMTP; 22 Jul 2011 06:37:06 +0200 Received: from mail412.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 886BCFFAC9A for ; Fri, 22 Jul 2011 06:37:50 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 22 Jul 2011 06:37:06 +0200 Received: from ip-149.net-82-216-0.versailles2.rev.numericable.fr (HELO ?192.168.0.10?) (forum%x9c.fr@82.216.0.149) by ns0.ovh.net with SMTP; 22 Jul 2011 06:37:04 +0200 X-Ovh-Mailout: 178.32.228.3 (mo3.mail-out.ovh.net) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: "forum@x9c.fr" In-Reply-To: Date: Fri, 22 Jul 2011 06:37:03 +0200 Cc: x9c Message-Id: <2E21E2FB-3C57-4316-B0E4-A98AD1136A15@x9c.fr> References: To: caml users X-Mailer: Apple Mail (2.1084) X-Ovh-Tracer-Id: 18334154083876406048 X-Ovh-Remote: 82.216.0.149 (ip-149.net-82-216-0.versailles2.rev.numericable.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfedvfedrvdekucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuc Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p6M4bCtp007144 Subject: Re: [Caml-list] How to use ocamlbuild instead of ocamlfind Le 22 juil. 2011 à 03:50, Kevin Fu a écrit : > Hi all, > > I have working on a project that analyzing XML with PXP. > And PXP is recommended to compile with ocamlfind while my project is compiled with ocamlbuild. > So I wanna to use ocamlbuild to compile project with PXP included but failed in runtime > with errors that implicate the required PXP lex module is missing. > In fact that module has already been included as following : > > -I XXXX > > After all, anybody know about how to use the ocamlbuild to get the same function as ocmalfind? > I think the key is the META file. There is some support for ocamlfind bundled with ocamlbuild (at least in the last versions of ocamlbuild). You can have a look at the following page for more information: http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild Do not hesitate to ask for further information if needed. Regards, Xavier Clerc