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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 26E6CBBAF for ; Tue, 21 Dec 2010 03:26:06 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8AAH6fD03RVdYpk2dsb2JhbACVQDGOEggVAQEBAQkJCgkRBCClGolyghiFRC6IVwEBAwWFRASEZYYchgw X-IronPort-AV: E=Sophos;i="4.60,205,1291590000"; d="scan'208";a="84477119" Received: from mail-bw0-f41.google.com ([209.85.214.41]) by mail2-smtp-roc.national.inria.fr with ESMTP; 21 Dec 2010 03:25:50 +0100 Received: by bwz16 with SMTP id 16so6518869bwz.0 for ; Mon, 20 Dec 2010 18:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=X4i2A926nUxIJrPqq3zyw2Ta7Bxvar9bUKVDHK3a+hc=; b=Ib8Udfz8JgRnMVfq55R6BA1ydhzwnDqcx13B+6S//KC6pPBcuWkIn6PkhGv5kh224i JGFOYxXybNlcROGo7gPo1/IY8nAXgLuqR1xM8+DhZgQGn1ZxjHtewYkuTXMfuRvdXm7o dft+K8LXuTGZEwVWYE2wTMTwkIIxdvqTHo/l0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=buEdRmqIK3K9SUQBGXnkLWW9rrqOme+s3dCAy/ruVeHdfnOvyCyRx5mZSXm6fDsfEt wgCRePrnMiqOki7wY1S+r8v4xK+yFk/8XHybgRRVQLAtNFVGi88VEhRLIh3VHoulnr/c 5k/Mkn52i9BQL5Bma49tF1MaKnfFccqUcPELg= MIME-Version: 1.0 Received: by 10.204.75.193 with SMTP id z1mr4142765bkj.214.1292898349417; Mon, 20 Dec 2010 18:25:49 -0800 (PST) Received: by 10.204.71.3 with HTTP; Mon, 20 Dec 2010 18:25:49 -0800 (PST) In-Reply-To: <2D355E1A-E205-4FD6-82E9-A50E949C6B81@ezabel.com> References: <2D355E1A-E205-4FD6-82E9-A50E949C6B81@ezabel.com> Date: Mon, 20 Dec 2010 21:25:49 -0500 Message-ID: Subject: Re: [Caml-list] Lwt and OCamlMakefile From: Markus Mottl To: orbitz@ezabel.com Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; markus:01 mottl:01 markus:01 mottl:01 specifies:01 compilation:01 syntax:01 dependencies:01 ocamlfind:01 ocamldep:01 -pp:01 camlp:01 cmo:01 sge:01 utils:01 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 troub= le > 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 foun= d > 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 > --=20 Markus Mottl=A0 =A0 =A0 =A0 http://www.ocaml.info=A0 =A0 =A0 =A0 markus.mot= tl@gmail.com