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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 4D18F7F75C for ; Sat, 30 Aug 2014 12:53:59 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of philippe.wang.lists@gmail.com) identity=pra; client-ip=74.125.82.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.wang.lists@gmail.com"; x-sender="philippe.wang.lists@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of philippe.wang.lists@gmail.com designates 74.125.82.169 as permitted sender) identity=mailfrom; client-ip=74.125.82.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.wang.lists@gmail.com"; x-sender="philippe.wang.lists@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f169.google.com) identity=helo; client-ip=74.125.82.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.wang.lists@gmail.com"; x-sender="postmaster@mail-we0-f169.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYBAPKrAVRKfVKplGdsb2JhbABbhDcEgnjNUQgWEAEBAQEHCwsJEiuEAwEBAQMBEhEdATgBAwELAQUFCwMKAgImAgIiEgEFAQ4BDQYTIogMAwkImnBriyuFAoloJw2FZQERAQUOgR6NUAEBg0+BUwEEkVWLB5MsGCmBbIMoOy+BD4FAAQEB X-IPAS-Result: ApYBAPKrAVRKfVKplGdsb2JhbABbhDcEgnjNUQgWEAEBAQEHCwsJEiuEAwEBAQMBEhEdATgBAwELAQUFCwMKAgImAgIiEgEFAQ4BDQYTIogMAwkImnBriyuFAoloJw2FZQERAQUOgR6NUAEBg0+BUwEEkVWLB5MsGCmBbIMoOy+BD4FAAQEB X-IronPort-AV: E=Sophos;i="5.04,431,1406584800"; d="scan'208";a="92223080" Received: from mail-we0-f169.google.com ([74.125.82.169]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 30 Aug 2014 12:53:58 +0200 Received: by mail-we0-f169.google.com with SMTP id k48so3287685wev.0 for ; Sat, 30 Aug 2014 03:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YlVXrJ11XRU6R4oL36G0SKW0Xbe66/HSkw1AhcosDdw=; b=KW/BRXiD+xPYPyBCdQ1qSVBBP9j7bCExu96Yj35D5UXMq/ir1AF4eKfoKyc0VuBiGW WIUcA8zZkIiaLBRXg60czhQkF/vBPVLGGf4RceS0uqfN5p2OgQMLbmCvkmrrZ6L4Xkvd 1Sy81EWArUw8EzQQXeG0DY7m3NE+izmey/tK30nHFBXaKk9KT1pR3VFxAOR9FogoryTU LqUjxOg1qRTaBSYC2FPXxSl/L4GirOggN2MoKX4Gqobi3O90htxznlJ+x/WiWO3cHkq0 ZjHY/8deSZ3Aw403YhsRtRYD+Be5H5N8HafxNy6/0qIVdmC+xhETMg2XGR1z+YaqVYGK 4Xtw== MIME-Version: 1.0 X-Received: by 10.194.219.193 with SMTP id pq1mr19756264wjc.5.1409396038816; Sat, 30 Aug 2014 03:53:58 -0700 (PDT) Sender: philippe.wang.lists@gmail.com Received: by 10.216.163.198 with HTTP; Sat, 30 Aug 2014 03:53:58 -0700 (PDT) In-Reply-To: <005c01cfc3a5$dc247270$946d5750$@com> References: <005c01cfc3a5$dc247270$946d5750$@com> Date: Sat, 30 Aug 2014 12:53:58 +0200 X-Google-Sender-Auth: X5BJ2rqH8lp7gtxzbZRsZtP9wuE Message-ID: From: Philippe Wang To: David Guaspari Cc: OCaml Mailing List Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] unable to install opam under cywgin On Fri, Aug 29, 2014 at 6:22 PM, David Guaspari wrote: > I am trying to install opam 1.1.2. Under cygwin I do > > ./configure > make lib-ext > make > make install > > The last of these fails with the error message > > -- begin > > OPAMROOT=/tmp/opam-install-install src/opam-installer --prefix /usr/local > opam.install > [ERROR] Could not find "C:\\opam-full-1.1.2\\src\\opam" > [ERROR] Could not find "C:\\opam-full-1.1.2\\src\\opam-admin" > [ERROR] Could not find "C:\\opam-full-1.1.2\\src\\opam-installer" > doc/man\opam.1 => /usr/local\man\man1\opam.1 > Fatal error: exception Unix.Unix_error(20, "create_process", "/bin/sh") > Makefile:52: recipe for target 'install' failed > make: *** [install] Error 2 > > -- end > > In fact, the directory C:opam-full-1.1.2\src contains the executables > opam.exe > opam-admin.exe > opam-installer.exe > > I made copies of these named opam, opam-admin, opam-installer and > reran > > make install. > > Now the error message is shorter > > -- begin > > OPAMROOT=/tmp/opam-install-install src/opam-installer --prefix /usr/local > opam.install > src\opam => /usr/local\bin\opam > Fatal error: exception Unix.Unix_error(20, "create_process", "/bin/sh") > Makefile:52: recipe for target 'install' failed > make: *** [install] Error 2 > > -- end > > Here's a guess. The installation wants to execute files whose names do not > end > in ".exe", but create_process (on a Windows machine) fails because it > wants a file whose > name ends in ".exe". If my guess is right, I'm not sure how to fix the > problem. > > Any help would be appreciated. > Fatal error: exception Unix.Unix_error(20, "create_process", "/bin/sh") ===> Error 20 is Unix.ENOENT, which means "No such file or directory". That means it can't find "/bin/sh". Are you sure that you have "/bin/sh"? -- Philippe Wang mail@philippewang.info