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
Creating an lwt toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-10-06 (15:02)
From: Chantal KELLER <chantal.keller@w...>
Subject: Re: [Caml-list] Creating an lwt toplevel

Alan Schmitt a écrit :
> $ ocamlfind ocamlmktop -o lwtcaml -package lwt unix.cma lwt.cma
> $ ./lwtcaml
>         Objective Caml version 3.11.1
> # open Lwt;;
> Error: Unbound module Lwt

I think the problem is that the place where lwt.cma is is not in the
path of ./lwtcaml, even if you said so with ocamlmktop.

I got the same problem a few days ago, there is a thread on the
ocaml_beginners mailing list
<http://tech.groups.yahoo.com/group/ocaml_beginners/message/11426>. I do
not know how to translate it using ocamlfind.
Chantal KELLER