[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2002-08-30 (20:02) |
From: | Stefano Zacchiroli <zack@c...> |
Subject: | Re: [Caml-list] Ocaml-Weblib? |
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