Open
Description
I've update the dkml to 1.2.1-10
:

But run command with-dkml opam switch create idedev2 --repos 'default,diskuv-1.2.1-10=git+https://github.com/diskuv/diskuv-opam-repository.git#1.2.1-10' 4.14.1
still got errors.
Because basically, our internal project should use OCaml 4.14.1.
C:\Users\moonbuild> with-dkml opam switch create idedev2 --repos 'default,diskuv-1.2.1-10=git+https://github.com/diskuv/diskuv-opam-repository.git#1.2.1-10' 4.14.1
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.14.1"} | "ocaml-system" {= "4.14.1"}]
[NOTE] External dependency handling not supported for OS family 'windows'.
You can disable this check using 'opam option --global depext=false'
[NOTE] External dependency handling not supported for OS family 'windows'.
You can disable this check using 'opam option --global depext=false'
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
* installed base-bigarray.base
* installed base-threads.base
* installed base-unix.base
* installed ocaml-options-vanilla.1
▼ retrieved ocaml-base-compiler.4.14.1 (cached)
[ERROR] The compilation of ocaml-base-compiler.4.14.1 failed at "./configure --prefix=C:\\Users\\moonbuild\\AppData\\Local\\opam\\idedev2 --docdir=C:\\Users\\moonbuild\\AppData\\Local\\opam\\idedev2\\doc/ocaml -C".
#=== ERROR while compiling ocaml-base-compiler.4.14.1 =========================#
# context 2.2.0~alpha0~20221228 | win32/x86_64 | | https://opam.ocaml.org#030450cd
# path C:\Users\moonbuild\AppData\Local\opam\idedev2\.opam-switch\build\ocaml-base-compiler.4.14.1
# command C:\Users\moonbuild\AppData\Local\opam\idedev2\.opam-switch\build\ocaml-base-compiler.4.14.1\./configure --prefix=C:\Users\moonbuild\AppData\Local\opam\idedev2 --docdir=C:\Users\moonbuild\AppData\Local\opam\idedev2\doc/ocaml -C
# exit-code 1
# env-file C:\Users\moonbuild\AppData\Local\opam\log\ocaml-base-compiler-15404-02ef78.env
# output-file C:\Users\moonbuild\AppData\Local\opam\log\ocaml-base-compiler-15404-02ef78.out
### output ###
# [...]
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... no
# checking if libtool supports shared libraries...
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking C compiler vendor... msvc-1926
# checking whether host executables can be run in the build... yes
# checking whether #! works in shell scripts... yes
# checking whether the C compiler supports -d2VolatileMetadata-... yes
# checking for flexdll sources... checking for flexlink... flexlink
# checking whether flexlink works... no
# configure: error: flexlink does not work
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-base-compiler 4.14.1
└─
┌─ The following changes have been performed (the rest was aborted)
│ * install base-bigarray base
│ * install base-threads base
│ * install base-unix base
│ * install ocaml-options-vanilla 1
└─
# Run eval $(opam env --switch=idedev2) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [y/n] y
Metadata
Metadata
Assignees
Labels
No labels