English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
"Hello web" please
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-11 (18:14)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Re: [Caml-list] "Hello web" please
On Tue, 11 Jul 2006, "Jonathan Hayward" <christos.jonathan.hayward@gmail.com> wrote:
> Thank you; it seems to compile now, but it's crashing (runtime); there's a
> library installed on my system that it's not picking up.

The way it is, the script is NOT compiled, it is interpreted.  I
recommend you compile it to bytecode
(http://caml.inria.fr/pub/docs/manual-ocaml/manual022.html) or native
code (http://caml.inria.fr/pub/docs/manual-ocaml/manual025.html)

> jonathan@inner-sanctum:~/csi/ml$ ocamlrun ocaml ./demo.ml
> Cannot load required shared library dllpcre_stubs.
> Reason: dllpcre_stubs.so: cannot open shared object file: No such file or
> directory.

I do not have that problem (get Debian :).  Does the script run from
the command line?  Maybe setting the environment variable

I propose to continue this conversation on the beginner mailing list
(http://groups.yahoo.com/group/ocaml_beginners/) to which I also sent
this message.