我目前正在按照 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
启动。
如有任何帮助,我们将不胜感激。
sudo yum install libcap-devel -y
对我有用。