You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The general answer for 4.14.1 is no, and specifically for ocaml-base-compiler is no. When 4.14.2 comes out, that will be supported … with extra Windows patches (some from 5.x like ocaml/ocaml#12364)
So I’m confused why you want to install on Windows without important Windows patches.
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.
The text was updated successfully, but these errors were encountered: