caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: orbitz@ezabel.com
To: Markus Mottl <markus.mottl@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Lwt and OCamlMakefile
Date: Mon, 20 Dec 2010 21:36:39 -0500	[thread overview]
Message-ID: <3746A668-E963-40AE-A441-B01517F1E13E@ezabel.com> (raw)
In-Reply-To: <AANLkTimgOW_MGi+6dbL2EShd26tbEdDHvoAEjh1+Zvct@mail.gmail.com>

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,  <orbitz@ezabel.com> 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


  reply	other threads:[~2010-12-21  2:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21  1:05 orbitz
2010-12-21  2:25 ` [Caml-list] " Markus Mottl
2010-12-21  2:36   ` orbitz [this message]
2010-12-21  3:02     ` Michael Ekstrand
2010-12-21 18:42       ` orbitz
2010-12-22  1:55       ` Romain Beauxis
2010-12-21  8:57     ` Jérémie Dimino
2010-12-21 10:21       ` Sylvain Le Gall
2010-12-21 13:18         ` [Caml-list] " Adrien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3746A668-E963-40AE-A441-B01517F1E13E@ezabel.com \
    --to=orbitz@ezabel.com \
    --cc=caml-list@inria.fr \
    --cc=markus.mottl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).