在 windows 64 上安装带有 opam 的 tsdl 时构建 conf-pkg-config 2 时出现问题
Problem at building conf-pkg-config 2 when installing tsdl with opam on windows 64
我在为我的 caml 项目安装 tsdl 时遇到此错误:
#=== ERROR while compiling conf-pkg-config.2 ==================================#
# context 2.0.8 | win32/x86_64 | ocaml-variants.4.11.1+mingw64c | git+https:
//github.com/fdopen/opam-repository-mingw.git#opam2
# path ~/.opam/4.11.1+mingw64c/.opam-switch/build/conf-pkg-config.2
# command dash.exe -ec pkg-config --help
# exit-code 127
# env-file ~/.opam/log/conf-pkg-config-1212-9b8556.env
# output-file ~/.opam/log/conf-pkg-config-1212-9b8556.out
### output ###
# dash: 1: pkg-config: not found
在您的错误消息中:
# dash: 1: pkg-config: not found
你试过了吗
sudo apt install pkg-config
我在为我的 caml 项目安装 tsdl 时遇到此错误:
#=== ERROR while compiling conf-pkg-config.2 ==================================#
# context 2.0.8 | win32/x86_64 | ocaml-variants.4.11.1+mingw64c | git+https:
//github.com/fdopen/opam-repository-mingw.git#opam2
# path ~/.opam/4.11.1+mingw64c/.opam-switch/build/conf-pkg-config.2
# command dash.exe -ec pkg-config --help
# exit-code 127
# env-file ~/.opam/log/conf-pkg-config-1212-9b8556.env
# output-file ~/.opam/log/conf-pkg-config-1212-9b8556.out
### output ###
# dash: 1: pkg-config: not found
在您的错误消息中:
# dash: 1: pkg-config: not found
你试过了吗
sudo apt install pkg-config