Closed mohanr closed 7 years ago
If I create build/ocaml after it created 4.02.3+mingw64 I see this. Just trying to avoid the permission error.
=-=- Installing compiler 4.02.3+mingw64 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [4.02.3+mingw64: http] [compiler.get] http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.xz downloaded [ERROR] Initialisation failed
Extracting the archive will overwrite D:/OCaml64/home/476458/.opam/4.02.3+mingw64/build/ocaml.
Extracting the archive will overwrite D:/OCaml64/home/476458/.opam/4.02.3+mingw64/build/ocaml.
I tried this in my Windows 8 box and even though the graphical installer didn't install Opam, the manual installation succeeded. So there is a permission issue in my laptop.
Update : This seems to be a common 'mv' issue. I think
I am closing this now as I run into more permission issues. They don't seem to be related to Opam specifically. Moreover I am also looking at a VM.
=-=- Installing compiler 4.02.3+mingw64 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [4.02.3+mingw64: http] [compiler.get] http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.xz downloaded [ERROR] Initialisation failed "mv D:\OCaml64\tmp\opam-160-427793\ocaml-4.02.3 D:/OCaml64/home/476458/.opam/4.02.3+mingw64/build/ocaml" exited with code 1 "/usr/bin/mv: cannot move 'D:\OCaml64\tmp\opam-160-427793\ocaml-4.02.3' to 'D:/OCaml64/home/476458/.opam/4.02.3+mingw64/build/ocaml': Permission denied"
I have tried to give more permissions. Is there any way to circumvent this ?