ocaml-z3 icon indicating copy to clipboard operation
ocaml-z3 copied to clipboard

Install with OPAM instructions do not work

Open Reilithion opened this issue 7 years ago • 2 comments

I wasn't able to install ocaml-z3 via the instructions in the README. When attempting to add the repo, I see the following:

$ opam repository add plasma-opam https://github.com/plasma-umass/ocaml-repository.git
Processing: [plasma-opam: git]Username for 'https://github.com': 
Password for 'https://github.com': 
Processing: [plasma-opam: git]Username for 'https://github.com': 
Password for 'https://github.com': 
[ERROR] Could not fetch repo

I naively tried to add https://github.com/plasma-umass/ocaml-z3.git and then install ocaml-z3, but that fails too:

$ opam repository add plasma-opam https://github.com/plasma-umass/ocaml-z3.git
[plasma-opam] https://github.com/plasma-umass/ocaml-z3.git updated

$ opam install ocaml-z3
[ERROR] No package named ocaml-z3 found.

Reilithion avatar Sep 26 '17 18:09 Reilithion

Ah. We need to update the readme with new instructions.

In the meantime, could you try

opam pin add ocaml-z3 https://github.com/plasma-umass/ocaml-z3.git
opam install ocaml-z3

Let me know if that doesn't work!

baxtersa avatar Sep 27 '17 12:09 baxtersa

Yes. Once I have all the dependencies, this seems to work.

Reilithion avatar Sep 28 '17 19:09 Reilithion