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 WAA17211; Fri, 30 Aug 2002 22:02:02 +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 WAA17055 for ; Fri, 30 Aug 2002 22:02:01 +0200 (MET DST) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7UK20D14271 for ; Fri, 30 Aug 2002 22:02:00 +0200 (MET DST) Received: from dalamar.takhisis.org (62.98.120.59) by smtp2.libero.it (6.5.028) id 3D6B8C4900163603 for caml-list@inria.fr; Fri, 30 Aug 2002 22:01:58 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (8.12.4/8.12.4/Debian-4) with ESMTP id g7UK1rQP002920 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Fri, 30 Aug 2002 22:01:56 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by lordsoth.takhisis.org (8.12.6/8.12.6/Debian-2) with ESMTP id g7UK1qTq005951 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 30 Aug 2002 22:01:52 +0200 Received: (from zack@localhost) by lordsoth.takhisis.org (8.12.6/8.12.6/Debian-2) id g7UK1qYc005949 for caml-list@inria.fr; Fri, 30 Aug 2002 22:01:52 +0200 Date: Fri, 30 Aug 2002 22:01:52 +0200 From: Stefano Zacchiroli To: Caml list Subject: Re: [Caml-list] Ocaml-Weblib? Message-ID: <20020830200152.GC5906@cs.unibo.it> Mail-Followup-To: Caml list References: <20020825233752.GC11714@cs.unibo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Aug 30, 2002 at 06:16:02PM +0200, Oliver Bandel wrote: > But when typing "make" the result was, that pcre was'nt found. Uhm ... reporting the error message can help here, but anyway ... The problem is that probably you installed pcre and thus the META file that ocamlfind is looking for in a directory unknown to ocamlfind. You can fix the problem changing the "path" setting in /etc/ocamlfind.conf, just add to hit the directory _above_ the directory where you installed pcre. (e.g. you have installed pcre in /usr/local/lib/ocaml/pcre, then add /usr/local/lib/ocaml to the path value in ocamlfind.conf; this value is a ":" separated list of dirs). > What is the best installing directory for stuff like pcre, > which normally will be searched by default? > > When directly using pcre from within Ocaml-Programs, I had > the ssame problem, that the pcre-stuff was not in the > default-search-path of the compilers. Usually is better to install them in a subdir of the ocaml library directory (which you can get typing "ocamlc -where"). Don't know which is your setup but on debian this directory is /usr/lib/ocaml and by default from the ocaml sources I guess it can be /usr/local/lib/ocaml, but I'm not sure. Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners