caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@inria.fr
Subject: [Caml-list] ocamlbuild/ocamlfind weirdness
Date: Mon, 21 Nov 2011 17:48:05 +1100	[thread overview]
Message-ID: <20111121174805.c6ed2e57ee4f2da5b892ef33@mega-nerd.com> (raw)

Hi all,

I'm trying to roll a Debian package (on Ubuntu Lucid) for the latest
version ocaml-cairo which uses ocamlbuild. The debian/rules file,
boiled down to the core commands looks like this:

    ocaml setup.ml -configure --prefix /usr
    ocaml setup.ml -build
    prefix=$(pwd)/debian/tmp/ ocaml setup.ml -install

with the idea that the software is configured to install in /usr
but that is actually gets installed in $(pwd)/debian/tmp/usr from
where it will get pulled into the package.

The problem is that ocamlfind which is not called directly from my
debian/rules file spits out the following error:

    ocamlfind: /usr/local/lib/ocaml/3.11.2/cairo2/cairo.mli:

even though I specified /usr/ as the prefix.

Any clues to get me going in the right direction?

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

             reply	other threads:[~2011-11-21  6:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21  6:48 Erik de Castro Lopo [this message]
2011-11-21 11:57 ` Stéphane Glondu
2011-11-22  3:19   ` Erik de Castro Lopo

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=20111121174805.c6ed2e57ee4f2da5b892ef33@mega-nerd.com \
    --to=mle+ocaml@mega-nerd.com \
    --cc=caml-list@inria.fr \
    /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).