从终端运行以下命令:
sudo python3 meson _build
:
**The Meson build system**
Version: 0.50.0
....
Checking for function "ngettext" : YES
Checking for function "bind_textdomain_codeset" : YES
Dependency mount found: NO (tried pkgconfig and cmake)
meson.build:1807:2: ERROR: Dependency "mount" not found, tried pkgconfig and cmake
A full log can be found at ~/glib-2.60.0/_build/meson-logs/meson-log.txt
介子 log.txt 错误:
Checking for function "bind_textdomain_codeset" : YES
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'mount' with pkg-config executable '/usr/local/bin/pkg-config'
Called `/usr/local/bin/pkg-config --modversion mount` -> 1
CMake binary for MachineChoice.HOST is cached.
Dependency mount found: NO (tried pkgconfig and cmake)
meson.build:1807:2: ERROR: Dependency "mount" not found, tried pkgconfig and cmake
我搜索了“mount.pc”文件。但它似乎不存在。我该如何解决这个错误?
我在 CentOS 盒子上纠正了这样的错误:
yum install libmount-devel