不支持沙丘版本
Dune version not supported
我正在尝试从源代码安装 google-drive-ocamlfuse,但是 prereuiqisites 让我有点困惑。我遇到此错误:
[bf@localhost google-drive-ocamlfuse]$ dune build @install
File "/home/bf/.opam/default/lib/gapi-ocaml/dune-package", line 1, characters 11-15:
1 | (lang dune 1.11)
^^^^
Error: Version 1.11 of dune is not supported.
Supported versions:
- 0.0
- 1.0 to 1.7
我安装了 dune 1.7 版:
[bf@localhost google-drive-ocamlfuse]$ dune --version
%%VERSION%%
[bf@localhost google-drive-ocamlfuse]$ sudo dnf install dune
[sudo] password for bf:
Last metadata expiration check: 0:48:24 ago on Wed 21 Aug 2019 15:57:42 CEST.
Package ocaml-dune-1.7.3-1.fc29.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
但显然,gapi-ocaml 需要 dune 1.11,还是我完全错了?我没有使用 OCaml 或沙丘或所有其他工具的经验...
我怎样才能安装这个?
不要使用您的发行版本 dune
。相反,通过 opam
:
获取它
dnf remove dune
opam install dune
我正在尝试从源代码安装 google-drive-ocamlfuse,但是 prereuiqisites 让我有点困惑。我遇到此错误:
[bf@localhost google-drive-ocamlfuse]$ dune build @install
File "/home/bf/.opam/default/lib/gapi-ocaml/dune-package", line 1, characters 11-15:
1 | (lang dune 1.11)
^^^^
Error: Version 1.11 of dune is not supported.
Supported versions:
- 0.0
- 1.0 to 1.7
我安装了 dune 1.7 版:
[bf@localhost google-drive-ocamlfuse]$ dune --version
%%VERSION%%
[bf@localhost google-drive-ocamlfuse]$ sudo dnf install dune
[sudo] password for bf:
Last metadata expiration check: 0:48:24 ago on Wed 21 Aug 2019 15:57:42 CEST.
Package ocaml-dune-1.7.3-1.fc29.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
但显然,gapi-ocaml 需要 dune 1.11,还是我完全错了?我没有使用 OCaml 或沙丘或所有其他工具的经验...
我怎样才能安装这个?
不要使用您的发行版本 dune
。相反,通过 opam
:
dnf remove dune
opam install dune