Closed kaby76 closed 3 years ago
Sorry, this repository is not official, and behind the current release. For whatever reason, the official Ocaml website (Ocaml.org) readme.md refers to this repo, but it should not. The official code is at https://github.com/ocaml/ocaml. The instructions for installing on a Cygwin Windows is at https://github.com/ocaml/ocaml/blob/trunk/INSTALL.adoc. The general instructions for installing on Windows is at https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc.
I followed the instructions for installation here and here, the latter is in this repo.
I installed the 64-bit version as per instructions (32-bit is dissuaded.... "The 32-bit version is not longer recommended)" ====>>> "The 32-bit version is NO longer recommended". Please correct the grammar.) During the install, Windows Defender flags one file as a virus. I disabled WD, then reinstalled it.
I restarted my Cygwin terminal (been using Cygwin for 25 years) to pick up any env changes.
Typing "ocaml" does not work because PATH was not changed by the installer.
I searched for "ocaml.exe" and adjusted PATH to contain that directory. But, "ocaml" still does not work:
$ ocaml OCaml version 4.11.1
In the "Next Step" section of the instructions, none of these apply (I have no idea what they are for), so I skipped them.
When you write instructions for installation, you need to always provide the next step in how to call the program and perform a sanity check to verify that it installed correctly. I have no idea what "Error: Unbound module Stdlib" is about, either. While "ocaml --version" does work, plain ol' "ocaml" does not. Therefore, as far as I can tell, the installer just does not work--at all.