配置:错误:*** 在 CentOS 上构建 SystemCtl 时未找到 POSIX caps 标头

问题描述 投票:0回答:1

我目前正在按照 this 教程在 AWS EC2 实例上构建 SystemCtl。

在配置步骤中,我得到以下信息:

...
    checking for python... /home/linuxbrew/.linuxbrew/bin/python
    checking for python version... 2.7
    checking for python platform... linux2
    checking for python script directory... ${prefix}/lib/python2.7/site-packages
    checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking for python lxml module... no
    configure: WARNING: *** python support requires python-lxml module installed
    configure: WARNING: *** python support not found, some documentation cannot be built
    checking for library containing dlsym... -ldl
    checking sys/capability.h usability... no
    checking sys/capability.h presence... no
    checking for sys/capability.h... no
    configure: error: *** POSIX caps headers not found

我想知道可以采取什么措施来解决这个问题,因为这会阻止

make
启动。

如有任何帮助,我们将不胜感激。

linux amazon-web-services makefile configuration centos
1个回答
0
投票
sudo yum install libcap-devel -y

对我有用。

© www.soinside.com 2019 - 2024. All rights reserved.