gpt4 book ai didi

linux - 安装 libxcb - 未找到包 'xcb-proto'

转载 作者:太空宇宙 更新时间:2023-11-04 12:47:25 25 4
gpt4 key购买 nike

我正在尝试按照“Beyond Linux From Scratch”(http://www.linuxfromscratch.org/blfs/view/cvs/x/xorg7.html)在 Linux (CentOS 6.6) 上安装 Xorg,但在安装 libxcb-1.12 时遇到问题:

./configure $XORG_CONFIG --enable-xinput \
--without-doxygen --docdir='${datadir}'/doc/libxcb-1.12

哪里:

$XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"

我得到了错误:

...
checking for XCBPROTO... no
configure: error: Package requirements (xcb-proto >= 1.12) were not met:

No package 'xcb-proto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XCBPROTO_CFLAGS
and XCBPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

我已经按照网站上的说明在下面安装了:

  • util-macros-1.19.0
  • Xorg 协议(protocol)头
  • linXau-1.0.8
  • libXdmcp-1.1.2
  • xcb-proto-1.12

xcb-proto 安装似乎没有问题,但不是 100% 确定。安装后可以在/usr/share/xcb/usr/lib/python2.7/site-packages/xcbgen找到一些文件。

最佳答案

» No package 'xcb-proto' found «

表示没有/usr/lib(64)/pkgconfig/xcb-proto.pc

关于linux - 安装 libxcb - 未找到包 'xcb-proto',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38313559/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com