From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pAL6mEIR016601 for ; Mon, 21 Nov 2011 07:48:14 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am0DAE3zyU7LzuaigWdsb2JhbABDp0mCcyIBARYmJYIzgV2dTZ51g1mDKYMVBJQ7kho X-IronPort-AV: E=Sophos;i="4.69,545,1315173600"; d="scan'208";a="131738469" Received: from hendrix.mega-nerd.net ([203.206.230.162]) by mail1-smtp-roc.national.inria.fr with ESMTP; 21 Nov 2011 07:48:07 +0100 Received: from hendrix.mnn (hendrix.mnn [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 1D5211067BD for ; Mon, 21 Nov 2011 17:48:05 +1100 (EST) Date: Mon, 21 Nov 2011 17:48:05 +1100 From: Erik de Castro Lopo To: caml-list@inria.fr Message-Id: <20111121174805.c6ed2e57ee4f2da5b892ef33@mega-nerd.com> Reply-To: caml-list@inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 3.2.0beta3 (GTK+ 2.24.7; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Caml-list] ocamlbuild/ocamlfind weirdness 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/