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 EBD877EE20 for ; Mon, 12 Nov 2012 16:59:43 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=pra; client-ip=89.16.177.154; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=mailfrom; client-ip=89.16.177.154; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@dark.recoil.org) identity=helo; client-ip=89.16.177.154; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="postmaster@dark.recoil.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmACAAkcoVBZELGagWdsb2JhbABEw3wBARYmJ4IeAQEEAXkFCwtGITYGE4d4AwkKsCYNiVSLLGmFaWEDlCeBVYsyiAA X-IronPort-AV: E=Sophos;i="4.80,762,1344204000"; d="scan'208";a="181158276" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail1-smtp-roc.national.inria.fr with SMTP; 12 Nov 2012 16:59:43 +0100 Received: (qmail 25917 invoked by uid 634); 12 Nov 2012 15:59:42 -0000 X-Spam-Level: * X-Spam-Check-By: dark.recoil.org Received: from volstagg-0.srg.cl.cam.ac.uk (HELO [10.0.0.83]) (128.232.32.232) (smtp-auth username remote@recoil.org, mechanism cram-md5) by dark.recoil.org (qpsmtpd/0.84) with ESMTPA; Mon, 12 Nov 2012 15:59:42 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) From: Anil Madhavapeddy In-Reply-To: Date: Mon, 12 Nov 2012 15:59:40 +0000 Cc: Caml List Content-Transfer-Encoding: quoted-printable Message-Id: <87151241-0EF6-4BAE-A5CB-B0A1353895ED@recoil.org> References: To: Ashish Agarwal X-Mailer: Apple Mail (2.1498) X-Virus-Checked: Checked by ClamAV on dark.recoil.org Subject: Re: [Caml-list] opam install seems not to run build command On 12 Nov 2012, at 15:32, Ashish Agarwal wrote: > We are running opam with a custom repo [1] that includes an oclosure pack= age. Doing `opam install oclosure` fails immediately with: >=20 > The following actions will be performed: > - install oclosure.0-dev > 1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remo= ve >=20 > =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: > 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 rem= ote 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=