caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] unable to install opam under cywgin
@ 2014-08-29 16:22 David Guaspari
  2014-08-30 10:53 ` Philippe Wang
  0 siblings, 1 reply; 3+ messages in thread
From: David Guaspari @ 2014-08-29 16:22 UTC (permalink / raw)
  To: caml-list

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.







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-30 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-29 16:22 [Caml-list] unable to install opam under cywgin David Guaspari
2014-08-30 10:53 ` Philippe Wang
2014-08-30 11:28   ` Adrien Nader

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).