From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6B19FBBAF for ; Tue, 6 Oct 2009 16:57:11 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoQAABP4ykrPLfmvkWdsb2JhbACPSosuAQEBARQKBxMFoRSXD4QqBA X-IronPort-AV: E=Sophos;i="4.44,513,1249250400"; d="scan'208";a="34355419" Received: from parmail04.sgcib.com ([207.45.249.175]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 06 Oct 2009 16:57:11 +0200 X-IronPort-AV: E=Sophos;i="4.44,513,1249250400"; d="scan'208";a="117290757" Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: [Caml-list] Creating an lwt toplevel Date: Tue, 6 Oct 2009 16:56:57 +0200 Message-ID: <0172C3AE3A0E964797AF43E206C1048F04A390F6@FRCOR-EXMB06.europe.am.socgen> In-Reply-To: <25ec8ca60910060748v89d8b6ck28706826bb836876@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] Creating an lwt toplevel thread-index: AcpGlB3hxbjHEXogT9+wewIP8UCZbwAANhNQ References: <25ec8ca60910060748v89d8b6ck28706826bb836876@mail.gmail.com> From: To: , X-OriginalArrivalTime: 06 Oct 2009 14:56:59.0124 (UTC) FILETIME=[41305B40:01CA4695] X-NAI-Spam-Score: -2.5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; toplevel:01 cmi:01 bytecode:01 toplevel:01 cmi:01 lib:01 ocaml:01 ocamlfind:01 ocamlmktop:01 -package:01 beginner's:01 ocaml:01 bug:01 2009:98 unauthorised:98 You are probably missing the .cmi files. The .cma contains the bytecode, but not module signatures. The toplevel has to see the corresponding .cmi files (#directory might help= from the toplevel). Rabih -----Message d'origine----- De=A0: caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inr= ia.fr]=20 Envoy=E9=A0: mardi 6 octobre 2009 16:48 =C0=A0: caml-list@inria.fr Objet=A0: [Caml-list] Creating an lwt toplevel Hello, I am trying to experiment with some code that uses lwt, and I would like to do it in a toplevel. Unfortunately I seem to be missing a step. Here is what I tried: # #load "unix.cma";; # #load "/Users/schmitta/godi/lib/ocaml/pkg-lib/lwt/lwt.cma";; # open Lwt;; Error: Unbound module Lwt I then tried: $ ocamlfind ocamlmktop -o lwtcaml -package lwt unix.cma lwt.cma $ ./lwtcaml Objective Caml version 3.11.1 # open Lwt;; Error: Unbound module Lwt I feel like I'm missing something obvious, but cannot see what it is right now. Thanks for any suggestion, Alan _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs ************************************************************************* This message and any attachments (the "message") are confidential, intended= solely for the addressee(s), and may contain legally privileged informatio= n. Any unauthorised use or dissemination is prohibited. E-mails are susceptibl= e to alteration. =20 Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be= liable for the message if altered, changed or falsified. ************ Ce message et toutes les pieces jointes (ci-apres le "message") sont confid= entiels et susceptibles de contenir des informations couvertes=20 par le secret professionnel.=20 Ce message est etabli a l'intention exclusive de ses destinataires. Toute u= tilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration.=20 La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre= de ce message s'il a ete altere, deforme ou falsifie. *************************************************************************