Thanks. Seems to be working.

On Mon, Nov 12, 2012 at 10:59 AM, Anil Madhavapeddy <anil@recoil.org> wrote:
On 12 Nov 2012, at 15:32, Ashish Agarwal <agarwal1975@gmail.com> wrote:

> We are running opam with a custom repo [1] that includes an oclosure package. Doing `opam install oclosure` fails immediately with:
>
> The following actions will be performed:
>  - install oclosure.0-dev
> 1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
>
> =-=-= oclosure.0-dev =-=-=
> The archive for oclosure.0-dev is in the local cache.
> Extracting /Users/ashish/.opam/archives/oclosure.0-dev+opam.tar.gz
> Build commands:
>   configure --prefix /Users/ashish/.opam/system

This needs to be "./configure", or it'll fail if your PATH doesn't include the current directory.  With this change, installation from Sebastien's remote works on my Mac.

>   make
>   make install
> Uninstalling oclosure.0-dev
> [WARNING] Command "rm -f" contains 1 space

You should also change the ["rm -f"...] in the uninstall to ["rm" "-f" ...] to placate the execve(2) gods.

-anil