caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild/ocamlfind weirdness
@ 2011-11-21  6:48 Erik de Castro Lopo
  2011-11-21 11:57 ` Stéphane Glondu
  0 siblings, 1 reply; 3+ messages in thread
From: Erik de Castro Lopo @ 2011-11-21  6:48 UTC (permalink / raw)
  To: caml-list

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-22  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21  6:48 [Caml-list] ocamlbuild/ocamlfind weirdness Erik de Castro Lopo
2011-11-21 11:57 ` Stéphane Glondu
2011-11-22  3:19   ` Erik de Castro Lopo

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).