From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B4CAEBB84 for ; Wed, 12 Jul 2006 13:21:00 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6CBL0M4006352 for ; Wed, 12 Jul 2006 13:21:00 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA30705 for ; Wed, 12 Jul 2006 13:20:59 +0200 (MET DST) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k6CBKwEF019954 for ; Wed, 12 Jul 2006 13:20:59 +0200 Received: by nz-out-0102.google.com with SMTP id z6so94235nzd for ; Wed, 12 Jul 2006 04:20:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VouKtSWWeZHPhT7CqtWB638aQyd+RwcAhR7Dwyd6VqJV/ryhrX/FT79aiSo50L5Ot1mxxFm/Qx3Hcoi9nNYtQHrxrkClzSAMZ/LsAZX0gZfc00BmXNTtPLMrgAbHEDKcOuHESjik6QY8C4PncdywxfyFMM2aAKTsFch17iKrf5E= Received: by 10.36.10.20 with SMTP id 20mr726196nzj; Wed, 12 Jul 2006 04:20:58 -0700 (PDT) Received: by 10.36.101.10 with HTTP; Wed, 12 Jul 2006 04:20:58 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 23:20:58 +1200 From: "Jonathan Roewen" To: "Jonathan Hayward http://JonathansCorner.com" Subject: Re: [Caml-list] "Hello web" please Cc: caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060711.164249.72518146.Christophe.Troestler@umh.ac.be> <20060711.201429.245541912.Christophe.Troestler@umh.ac.be> X-j-chkmail-Score: MSGID : 44B4DB1A.001 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 44B4DB1C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44B4DB1A.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; findlib:01 site-lib:01 pcre:01 topfind:01 pcre:01 cmi:01 cmi:01 mli:01 dependencies:01 caml-list:01 cma:01 simpler:02 indicates:04 install:05 path:07 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Make your life simpler, and install findlib ;-) (The presence of site-lib for the path to pcre indicates it'll work out of the box) In a script, you can do: #use "topfind";; #require "pcre";; at this point, it'll have loaded all the necessary .cma & .cmi files, added path to the .cmi/.mli files to the search path, and also resolve any dependencies.