From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 67B2CBBAF for ; Tue, 21 Dec 2010 03:36:45 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgAAF6hD03RVdi2kGdsb2JhbACVQI5DCBUBAQEBCQkMBxEEIKUGmliFSQSEZYYcgxeCdQ X-IronPort-AV: E=Sophos;i="4.60,205,1291590000"; d="scan'208";a="92948380" Received: from mail-qy0-f182.google.com ([209.85.216.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 21 Dec 2010 03:36:44 +0100 Received: by qyk36 with SMTP id 36so3392341qyk.6 for ; Mon, 20 Dec 2010 18:36:43 -0800 (PST) Received: by 10.229.242.83 with SMTP id lh19mr4452081qcb.226.1292899003738; Mon, 20 Dec 2010 18:36:43 -0800 (PST) Received: from [192.168.1.118] (c-68-34-120-105.hsd1.md.comcast.net [68.34.120.105]) by mx.google.com with ESMTPS id p13sm2641286qcu.17.2010.12.20.18.36.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Dec 2010 18:36:42 -0800 (PST) Cc: caml-list@inria.fr Message-Id: <3746A668-E963-40AE-A441-B01517F1E13E@ezabel.com> From: orbitz@ezabel.com To: Markus Mottl In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Caml-list] Lwt and OCamlMakefile Date: Mon, 20 Dec 2010 21:36:39 -0500 References: <2D355E1A-E205-4FD6-82E9-A50E949C6B81@ezabel.com> X-Mailer: Apple Mail (2.936) X-Spam: no; 0.00; camlp:01 cmo:01 dynlink:01 markus:01 mottl:01 specifies:01 compilation:01 markus:01 syntax:01 dependencies:01 ocamlfind:01 ocamldep:01 -pp:01 camlp:01 cmo:01 Thanks, I forgot to mention that I am setting that: (*pp camlp4o pa_lwt.cmo *) (that is where it is coming from in my paste) But it is still failing at the Dynlink. On Dec 20, 2010, at 9:25 PM, Markus Mottl wrote: > OCamlMakefile handles the preprocessing problem by requiring that the > first line of a file specifies the preprocessing command. It has the > form "(*pp ... *)", where "..." is the command you want to use for > preprocessing. Both dependency calculation as well as compilation > will then be handled correctly. > > Regards, > Markus > > On Mon, Dec 20, 2010 at 20:05, wrote: >> Hey, >> I'm using OCamlMakefile for a project that uses lwt, and I'm having >> trouble >> getting the right combination of settings to use the syntax >> extensiosn, >> specifically it is failing trying to calculate dependencies: >> >> ocamlfind ocamldep -pp "camlp4o pa_lwt.cmo " pm_sge_utils.ml > >> ._d/pm_sge_utils.d >> Camlp4: Uncaught exception: DynLoader.Error ("pa_lwt.cmo", "file >> not found >> in path") >> >> >> What do I need to do? >> >> Thanks! >> >> _______________________________________________ >> 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 >> > > > > -- > Markus Mottl http://www.ocaml.info > markus.mottl@gmail.com