Browse thread
[Caml-list] How to use pcre
[
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: | -- (:) |
| From: | Markus Mottl <markus@m...> |
| Subject: | Re: [Caml-list] How to use pcre (2) |
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