【问题标题】:Dune version not supported不支持沙丘版本
【发布时间】:2019-08-21 14:47:19
【问题描述】:

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

我怎样才能安装它?

【问题讨论】:

    标签: ocaml ocaml-dune


    【解决方案1】:

    不要使用您的发行版的dune。相反,通过opam获取它:

    dnf remove dune
    opam install dune
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-09-11
      • 1970-01-01
      • 2021-04-12
      • 2018-02-15
      • 2020-02-13
      • 2013-11-10
      • 2012-08-22
      • 1970-01-01
      相关资源
      最近更新 更多