Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #546

Open
iskandr opened this issue Nov 2, 2017 · 4 comments
Open

Unable to install #546

iskandr opened this issue Nov 2, 2017 · 4 comments

Comments

@iskandr
Copy link
Member

iskandr commented Nov 2, 2017

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
@smondet
Copy link
Member

smondet commented Nov 2, 2017

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

@iskandr
Copy link
Member Author

iskandr commented Nov 2, 2017

opam update gives me a mysterious error:

[ERROR] Could not update repository smondet

@iskandr
Copy link
Member Author

iskandr commented Nov 2, 2017

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

@smondet
Copy link
Member

smondet commented Nov 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants