ketrew icon indicating copy to clipboard operation
ketrew copied to clipboard

Unable to install

Open iskandr opened this issue 8 years ago • 4 comments

Attempted to follow install instructions from the README, switched to 4.0.3, tried to install Ketrew and got the following error:

$ opam install ketrew

=-=- Synchronising pinned packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ketrew] https://github.com/hammerlab/ketrew.git already up-to-date
The following dependencies couldn't be met:
  - ketrew -> js_of_ocaml-lwt >= 3.0
Your request can't be satisfied:
  - No package named js_of_ocaml-lwt found.

No solution found, exiting

iskandr avatar Nov 02 '17 17:11 iskandr

You seem to be pinned to the master branch, did you opam update, opam upgrade?

 $ opam info js_of_ocaml-lwt
             package: js_of_ocaml-lwt
             version: 3.0
          repository: default
        upstream-url: https://github.com/ocsigen/js_of_ocaml/archive/3.0.0.tar.gz
       upstream-kind: http
   upstream-checksum: bba5e95158d0e421b3878db746e7a4ed
            homepage: http://ocsigen.org/js_of_ocaml
         bug-reports: https://github.com/ocsigen/js_of_ocaml/issues
            dev-repo: git+https://github.com/ocsigen/js_of_ocaml.git
              author: Ocsigen team
             depends: jbuilder >= 1.0+beta9 & lwt >= 2.4.4 & js_of_ocaml >= 3.0 & js_of_ocaml-ppx
             depopts: graphics
   installed-version: 
   available-version: 3.0
         description: Compiler from OCaml bytecode to Javascript

smondet avatar Nov 02 '17 19:11 smondet

opam update gives me a mysterious error:

[ERROR] Could not update repository smondet

iskandr avatar Nov 02 '17 19:11 iskandr

Despite that error, installing ketrew does now work. Did the need to update/upgrade come from the pinned repo?

iskandr avatar Nov 02 '17 19:11 iskandr

My guess is that your opam environment was outdated, also the smondet repository must be very outdated (haven't used in years), you should opam repo remove smondet.

smondet avatar Nov 02 '17 19:11 smondet