![无法安装 xcb-utils-xrm 库](https://linux22.com/image/1139955/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20xcb-utils-xrm%20%E5%BA%93.png)
我正在尝试安装i3-间隙这make
给了我以下错误
../i3-gaps/src/config_parser.c:38:25: fatal error: xcb/xcb_xrm.h: No such file or directory
compilation terminated.
src/i3.mk:61: recipe for target 'src/config_parser.o' failed
make: *** [src/config_parser.o] Error 1`
我需要安装xcb-实用程序-xrm,但是当我运行这个时,./autogen.sh
我得到:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
Makefile.am:35: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is undefined
Makefile.am:26: error: 'xcbinclude_HEADERS' is used but 'xcbincludedir' is undefined
autoreconf: automake failed with exit status: 1
我该如何修复这个问题?我使用的是 Xubuntu 16.04.1
答案1
我遇到了类似的问题,安装 pkgconf 解决了我的问题:
sudo apt-get install pkgconf
答案2
我在 Xenial 上遇到了与 i3-gaps 完全相同的问题。结果发现这是一个未安装的依赖项:
sudo apt-get install libtool
然后,您可以再次运行设置,一切应该顺利,除非您缺少更多依赖项。