From: Philippe Wang <mail@philippewang.info>
To: David Guaspari <dguaspari@atcorp.com>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] unable to install opam under cywgin
Date: Sat, 30 Aug 2014 12:53:58 +0200 [thread overview]
Message-ID: <CAAFfW_r=kCwRuCSQh6F4eirxRpfXSJmUHpPYyTaDbVc=aEvN-w@mail.gmail.com> (raw)
In-Reply-To: <005c01cfc3a5$dc247270$946d5750$@com>
On Fri, Aug 29, 2014 at 6:22 PM, David Guaspari <dguaspari@atcorp.com> 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
next prev parent reply other threads:[~2014-08-30 10:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-29 16:22 David Guaspari
2014-08-30 10:53 ` Philippe Wang [this message]
2014-08-30 11:28 ` Adrien Nader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAFfW_r=kCwRuCSQh6F4eirxRpfXSJmUHpPYyTaDbVc=aEvN-w@mail.gmail.com' \
--to=mail@philippewang.info \
--cc=caml-list@inria.fr \
--cc=dguaspari@atcorp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).