【发布时间】:2021-09-20 15:52:08
【问题描述】:
我正在尝试在 Cygwin 上使用介子构建某个存储库。这就是发生的事情:
$ meson build_dir
The Meson build system
Version: 0.58.2
Source dir: /home/joeuser/src/meld-3.21.0
Build dir: /home/joeuser/src/meld-3.21.0/build_dir
Build type: native build
Project name: meld
Project version: 3.21.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency python3 found: NO (tried pkgconfig and sysconfig)
meson.build:18:0: ERROR: Dependency "python3" not found, tried pkgconfig and sysconfig
为什么会这样?以及如何让介子找到python3的依赖?
注意:我已经安装了python38-pkgconfig,以防万一。
【问题讨论】:
标签: python python-3.x cygwin pkg-config meson-build