Open useada opened 1 year ago
I don’t have enough context from your report. Somehow, I think, that “diskuv-opam-repository” was removed from that switch?
Your switch should be using https://github.com/diskuv/diskuv-opam-repository/tree/main/packages/core/core.v0.16.1%2Bmsvc%2Br1
The homepage https://github.com/diskuv/diskuv-opam-repository shows the command to re-add it: opam repository add diskuv-2.0.2 --rank 1 'git+https://github.com/diskuv/diskuv-opam-repository.git#2.0.2'
Then try your opam install again
(Sent from mobile)
Get Outlook for iOShttps://aka.ms/o0ukef
From: useada @.> Sent: Monday, August 21, 2023 4:56:43 AM To: diskuv/dkml-installer-ocaml @.> Cc: Subscribed @.***> Subject: [diskuv/dkml-installer-ocaml] error when install core (Issue #62)
(base) PS D:\project\ocaml\pythonlib> opam install core [NOTE] External dependency handling not supported for OS family 'windows'. You can disable this check using 'opam option --global depext=false' The following actions will be performed: === install 1 package ✶ core v0.16.1 [NOTE] External dependency handling not supported for OS family 'windows'. You can disable this check using 'opam option --global depext=false'
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ▼ retrieved core.v0.16.1 (cached) [ERROR] The compilation of core.v0.16.1 failed at "dune build -p core -j 11".
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build core v0.16.1 └─ ╶─ No changes have been performed
— Reply to this email directly, view it on GitHubhttps://github.com/diskuv/dkml-installer-ocaml/issues/62, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREG4PKQK6F44MI3DIM5FPLXWNEHXANCNFSM6AAAAAA3YIRMDE. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Also, can you run opam repository
and paste the output here? Thanks!
Also, can you run
opam repository
and paste the output here? Thanks!
I tried to implement your suggestion, but still reported the same error
The homepage https://github.com/diskuv/diskuv-opam-repository shows the command to re-add it: opam repository add diskuv-2.0.2 --rank 1 'git+https://github.com/diskuv/diskuv-opam-repository.git#2.0.2'
This is what you want:
[NOTE] These are the repositories in use by the current switch. Use '--all' to see all configured repositories.
<><> Repository configuration for switch playground <><><><><><><><><><><><><><>
1 diskuv-2.0.2 git+https://github.com/diskuv/diskuv-opam-repository.git#2.0.2
2 default https://opam.ocaml.org
Thanks!!
Okay, there was an issue with the tag on 2.0.2.
Do the following to get the update:
opam update diskuv-2.0.2
and then redo:
opam install --switch playground core
(In my test I had to do the last command twice)
Okay, there was an issue with the tag on 2.0.2.
Do the following to get the update:
opam update diskuv-2.0.2
and then redo:
opam install --switch playground core
(In my test I had to do the last command twice)
Greate, It works!!
Thanks Thanks!!