From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA11069; Thu, 6 Sep 2001 16:45:53 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA11325 for ; Thu, 6 Sep 2001 16:45:52 +0200 (MET DST) Received: from chopin.ai.univie.ac.at (chopin.ai.univie.ac.at [131.130.174.170]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f86Ejpr03204 for ; Thu, 6 Sep 2001 16:45:51 +0200 (MET DST) Received: (from markus@localhost) by chopin.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id QAA27057; Thu, 6 Sep 2001 16:45:30 +0200 Date: Thu, 6 Sep 2001 16:45:30 +0200 From: Markus Mottl To: Johann Spies Cc: ocaml mailing list Subject: Re: [Caml-list] How to use pcre (2) Message-ID: <20010906164530.F24260@chopin.ai.univie.ac.at> References: <87pu94lbdt.fsf@bywoner.sun.ac.za> <20010906152958.B24260@chopin.ai.univie.ac.at> <87sne0jt71.fsf_-_@bywoner.sun.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <87sne0jt71.fsf_-_@bywoner.sun.ac.za>; from jspies@maties.sun.ac.za on Thu, Sep 06, 2001 at 16:21:38 +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 06 Sep 2001, Johann Spies wrote: > I suspect there is something wrong with my installation. I have > compiled pcre in /usr/local/src and put the following files in > /usr/local/lib/ocaml: This is an FAQ and not related to the Pcre in particular: the problem is that a) you have to build a "customized" toplevel, because a C-library has to be linked in. This is very easy: ocamlmktop -I {dir with Pcre} pcre.cma -o mytoplevel b) "mytoplevel" doesn't "see" the interface file "pcre.cmi" if you don't tell it the include path. Therefore launch it as follows: mytoplevel -I {dir with Pcre} If you do this all, things should work fine. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr