[ tcmu-runner]# cmake -Dwith-glfs=false -Dwith-qcow=false -DSUPPORT_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX=/usr
– The C compiler identification is GNU 7.3.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Found PkgConfig: /usr/bin/pkg-config (found version “1.5.3”)
– Checking for module ‘gio-unix-2.0’
– Package ‘gio-unix-2.0’, required by ‘virtual:world’, not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:436 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:602 (_pkg_check_modules_internal)
CMakeLists.txt:33 (pkg_check_modules)
– Configuring incomplete, errors occurred!
See also “/root/tcmu-runner/CMakeFiles/CMakeOutput.log”.
提示缺少Package ‘gio-unix-2.0’,但是没有找到该包。