-
Notifications
You must be signed in to change notification settings - Fork 2
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
error when install core #62
Comments
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 iOS<https://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 while compiling core.v0.16.1 =======================================#
# context 2.2.0~alpha0~20221228 | win32/x86_64 | conf-withdkml.2 ocaml-system.4.14.0 | https://opam.ocaml.org#33168d94
# path C:\Users\usead\AppData\Local\opam\playground\.opam-switch\build\core.v0.16.1
# command C:\Users\usead\AppData\Local\Programs\DKMLNA~1\bin\WITH-D~1.EXE dune build -p core -j 11
# exit-code 1
# env-file C:\Users\usead\AppData\Local\opam\log\core-7116-d12f4a.env
# output-file C:\Users\usead\AppData\Local\opam\log\core-7116-d12f4a.out
### output ###
# File "core/src/dune", line 1, characters 0-83:
# 1 | (rule (targets config.h) (deps)
# 2 | (action (bash "cp %{lib:jst-config:config.h} .")))
# (cd _build/default/core/src && C:\Users\usead\AppData\Local\Programs\DKMLNA~1\tools\MSYS2\usr\bin\bash.exe -e -u -o pipefail -c "cp C:\Users\usead\AppData\Local\opam\playground\lib\jst-config\config.h .")
# cp: cannot stat 'C:UsersuseadAppDataLocalopamplaygroundlibjst-configconfig.h': No such file or directory
# (cd _build/default/heap_block && C:\DiskuvOCaml\BuildTools\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\cl.exe -nologo -O2 -Gy- -MD -nologo -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -Gy- -MD -nologo -I C:/Users/usead/AppData/Local/Programs/DKMLNA~1/lib/ocaml -I C:\Users\usead\AppData\Local\opam\playground\lib\base -I C:\Users\usead\AppData\Local\opam\playground\lib\base\base_internalhash_types -I C[...]
# heap_block_stubs.c
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build core v0.16.1
└─
╶─ No changes have been performed
# Run eval $(opam env) to update the current shell environment
—
Reply to this email directly, view it on GitHub<#62>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AREG4PKQK6F44MI3DIM5FPLXWNEHXANCNFSM6AAAAAA3YIRMDE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Also, can you run |
I tried to implement your suggestion, but still reported the same error
This is what you want:
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) |
Greate, It works!! Thanks Thanks!! |
The text was updated successfully, but these errors were encountered: