-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when doing the up and running with Platform Installer #155
Comments
Hello and thanks for the report! Unfortunately, this tool is not well tested on Windows. It should work on "linux emulated systems" such as WSL(2) and (maybe) Cygwin-powered installation. I don't think it was tested on Diskuv. Could you precise how you installed OCaml+opam on Windows? Thanks! |
So the way the steps that I took to install Ocaml on windows were: After I ran ocaml-platorm -vv the following error occurder #=== ERROR while compiling ocaml-system.5.0.0 =================================# context 2.1.4 | linux/x86_64 | | file:///tmp/ocaml-platform-compiler-package-5c11e7path /tmp/ocaml-platform-sandbox-5005d3/_opam/.opam-switch/build/ocaml-system.5.0.0command ~/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.mlexit-code 1env-file ~/.opam/log/ocaml-system-13829-b015c6.envoutput-file ~/.opam/log/ocaml-system-13829-b015c6.outoutputbwrap: execvp ocaml: No such file or directoryThe former state can be restored with: |
Thanks for the more precise report. It seems Your alternative is to install the platform tools by hand: |
My error states this: [ERROR] Command 'opam install ocaml-system.5.0.0 --yes -q --color=never --switch
/tmp/ocaml-platform-sandbox-2083eb --root /root/.opam' failed: exited with 31
I've followed the instructions step by step and my operating system is Windows not sure why this is happening. This occurs when I get to setting up sandbox after I run the command ocaml-platform. I am not sure if my switch is not setup correctly. If you could help me, please let me know.
Thanks,
Vincent
The text was updated successfully, but these errors were encountered: