From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id E24307EE20 for ; Mon, 12 Nov 2012 17:58:21 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of agarwal1975@gmail.com) identity=pra; client-ip=209.85.214.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of agarwal1975@gmail.com designates 209.85.214.182 as permitted sender) identity=mailfrom; client-ip=209.85.214.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ob0-f182.google.com) identity=helo; client-ip=209.85.214.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="postmaster@mail-ob0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkwCAFspoVDRVda2k2dsb2JhbABEw1EIIwEBAQEJCQsJFAQjgh4BAQQBQAEbHQEDAQsGBQQHDS4hAQERAQUBHAYTh3cBAwkGm1qMMoJ4hFIKGScNWYh1AQUMiyBphkoDiFqLTYFVizKDMBYphC8 X-IronPort-AV: E=Sophos;i="4.80,764,1344204000"; d="scan'208";a="181168829" Received: from mail-ob0-f182.google.com ([209.85.214.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 12 Nov 2012 17:58:21 +0100 Received: by mail-ob0-f182.google.com with SMTP id 16so834432obc.27 for ; Mon, 12 Nov 2012 08:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+L1f4HHEhX/K5ja9rreOhMBzLD6AdhdvjjnO5q6f/d4=; b=06dVDa7DpJnLIln8asQqSChI0LwIQWPF3CvGuJKh393eYTrlUzgVhXzIHLtL9iZJG5 Se0l9VmyerPPdXd9I/x2SqMO0IOdF8H/uI5vShTh3CmqXHR4gbqSmYJVYn5DQV4VmzAQ tZwYlCq9OR5M2aVxC+LQQfyXqVCE/iA6nxd8N3fsm8rP+UDyZlkVMbC1h645hNzqpWEs ilnO5AYxNWlwj9+ak4sF0wecSbkKp3fIWFz1ZvNM7yA2EZ5JE8O4DrvsIdypkAtqrq2E eicJ8n9slwnBMgw3SgYxoqGk1P7d54ZX9qqKLtOCDkSAqUk4uVQ4OM8Tiu/jD9S8MOHu i9QQ== Received: by 10.60.169.197 with SMTP id ag5mr14797403oec.137.1352739501137; Mon, 12 Nov 2012 08:58:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.174.101 with HTTP; Mon, 12 Nov 2012 08:58:00 -0800 (PST) In-Reply-To: <87151241-0EF6-4BAE-A5CB-B0A1353895ED@recoil.org> References: <87151241-0EF6-4BAE-A5CB-B0A1353895ED@recoil.org> From: Ashish Agarwal Date: Mon, 12 Nov 2012 11:58:00 -0500 Message-ID: To: Anil Madhavapeddy Cc: Caml List Content-Type: multipart/alternative; boundary=bcaec54a32d6705e2c04ce4f3510 Subject: Re: [Caml-list] opam install seems not to run build command --bcaec54a32d6705e2c04ce4f3510 Content-Type: text/plain; charset=ISO-8859-1 Thanks. Seems to be working. On Mon, Nov 12, 2012 at 10:59 AM, Anil Madhavapeddy wrote: > On 12 Nov 2012, at 15:32, Ashish Agarwal 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 --bcaec54a32d6705e2c04ce4f3510 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 Agarwa= l <agarwal197= 5@gmail.com> wrote:

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

This needs to be "./configure", or it'll fail if your P= ATH doesn't include the current directory. =A0With this change, install= ation from Sebastien's remote works on my Mac.

> =A0 make
> =A0 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

--bcaec54a32d6705e2c04ce4f3510--