1

我正在尝试从源代码安装 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

我安装了沙丘 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 需要沙丘 1.11,还是我完全弄错了?我没有使用 OCaml 或沙丘或所有其他工具的经验......

我怎样才能安装这个?

4

1 回答 1

1

不要使用您的发行版的dune. 相反,通过以下方式获取它opam

dnf remove dune
opam install dune
于 2019-08-26T15:49:50.733 回答