Я установил git bash с этой ссылкой и Ocaml с этой ссылкой (нажмите кнопку Installer for 64-bit OCaml 4.02.3 + OPAM
).
Тогда у меня есть тип opam install ocp-indent
в git bash и посмотрите результат
The following actions will be performed:
- install ocamlfind 1.8.0 [required by cmdliner, base-bytes, ocp-build]
- install jbuilder 1.0+beta20 [required by result]
- install base-bytes base [required by ocp-indent]
- install result 1.3 [required by cmdliner]
- install topkg 0.9.1 [required by cmdliner]
- install cmdliner 1.0.2 [required by ocp-indent]
- install ocp-build 1.99.20-beta [required by ocp-indent]
- install ocp-indent 1.6.1
===== 8 to install =====
Do you want to continue ? [Y/n] Y
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[jbuilder: http] Command started
[ocp-build: http] Command started
[ocp-indent: http] Command started
[result: http] Command started
[ERROR] The sources of the following couldn't be obtained, aborting:
- jbuilder.1.0+beta20
- ocp-build.1.99.20-beta
- ocp-indent.1.6.1
- result.1.3
(This might be due to outdated metadata, in this case run 'opam
update')
Я хочу спросить вас, есть ли у вас ссылка, которую я могу добавить с помощью opam repository
, или обходной путь (без cygwin) для установки ocp-indent в Windows 7.
Спасибо за чтение и ответы.