opam-repository
opam-repository copied to clipboard
'pkg-config': No such file or directory when running opam install dream on windows
following the tutorial on Ocaml website I tried to install the dream framework through OPAM and I get the following error.
OS: Windows 11 | 23H2
[ERROR] The compilation of conf-pkg-config.2 failed at "pkg-config --help".
#=== ERROR while compiling conf-pkg-config.2 ==================================#
# context 2.2.0~alpha0~20221228 | win32/x86_64 | conf-withdkml.2 ocaml-system.4.14.0 | pinned
# path ~\AppData\Local\opam\playground\.opam-switch\build\conf-pkg-config.2
# command ~\AppData\Local\Programs\DISKUV~1\bin\WITH-D~1.EXE pkg-config --help
# exit-code 127
# env-file ~\AppData\Local\opam\log\conf-pkg-config-12880-c314fb.env
# output-file ~\AppData\Local\opam\log\conf-pkg-config-12880-c314fb.out
### output ###
# /c/Users/Kehinde/AppData/Local/Programs/DISKUV~1/tools/MSYS2/usr/bin/env: 'pkg-config': No such file or directory
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build conf-pkg-config 2
└─
╶─ No changes have been performed
# Run eval $(opam env) to update the current shell environment