From: David Guaspari <dguaspari@atcorp.com>
To: <caml-list@inria.fr>
Subject: [Caml-list] unable to install opam under cywgin
Date: Fri, 29 Aug 2014 12:22:46 -0400 (EDT) [thread overview]
Message-ID: <005c01cfc3a5$dc247270$946d5750$@com> (raw)
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.
next reply other threads:[~2014-08-29 16:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-29 16:22 David Guaspari [this message]
2014-08-30 10:53 ` Philippe Wang
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='005c01cfc3a5$dc247270$946d5750$@com' \
--to=dguaspari@atcorp.com \
--cc=caml-list@inria.fr \
/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