如何安装Eliom



我无法安装Ocsigen项目的eliom

$ opam install eliom
Your request can't be satisfied:
  - No package matches eliom.
$ opam install eliom.5.0.0
Your request can't be satisfied:
  - No package matches eliom.5.0.0.

,但令人惊讶的是,我可以找到包:

$ opam show eliom
             package: eliom
             version: 5.0.0
          repository: default
        upstream-url: https://github.com/ocsigen/eliom/archive/5.0.0.tar.gz
       upstream-kind: http
   upstream-checksum: dcd4c6b7b09a9ac233cb6db4605c233e
            homepage: http://ocsigen.org/eliom/
         bug-reports: https://github.com/ocsigen/eliom/issues/
            dev-repo: https://github.com/ocsigen/eliom.git
              author: dev@ocsigen.org
             license: LGPL-2.1 with OCaml linking exception
             depends: ocamlfind & camlp4 <= 4.02+6 & deriving >= 0.6 & (base-no-ppx | ppx_tools >= 0.99.3) & js_of_ocaml > 2.6 & tyxml > 3.5.0 & calendar & ocsigenserver >= 2.6 & ipaddr >= 2.1 & reactiveData >= 0.2 & base-bytes
   installed-version: 
  available-versions: 2.2.2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 4.0.0, 4.1.0, 4.2.0, 5.0.0
         description: Framework for programming Web sites and client/server Web applications.

我做错了什么?

你应该声明:

    opam --version 获得的opam
  • 版本
  • opam switch获得的当前opam开关

这个令人困惑的消息是OPAM 1.2.2的一个已知问题:https://github.com/ocaml/opam/issues/2526 .

我猜你使用的是OCaml 4.03.0。安装eliom.5.0.0不满足安装条件。根据opam info eliom.5.0.0,您需要OCaml 4.2 .x。

相关内容

  • 没有找到相关文章

最新更新