Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Markus Mottl <markus.mottl@gmail.com>
To: orbitz@ezabel.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Lwt and OCamlMakefile
Date: Mon, 20 Dec 2010 21:25:49 -0500	[thread overview]
Message-ID: <AANLkTimgOW_MGi+6dbL2EShd26tbEdDHvoAEjh1+Zvct@mail.gmail.com> (raw)
In-Reply-To: <2D355E1A-E205-4FD6-82E9-A50E949C6B81@ezabel.com>

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:26 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 ` Markus Mottl [this message]
2010-12-21  2:36   ` [Caml-list] " orbitz
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=AANLkTimgOW_MGi+6dbL2EShd26tbEdDHvoAEjh1+Zvct@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=orbitz@ezabel.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