我不能安装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.我做错什么了?
发布于 2016-09-01 05:02:58
你应该声明:
opam --version获得opam的版本opam switch获得的电流opam开关令人困惑的信息是Opam1.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.02.x。详情请参见https://github.com/ocsigen/eliom/issues/324。
https://stackoverflow.com/questions/39262519
复制相似问题