uskysd uskysd - 1 year ago 186
Linux Question

Installing libxcb - No package 'xcb-proto' found

I'm attempting to install Xorg on linux (CentOS 6.6) by following "Beyond Linux From Scratch"(, and had an issue while installing libxcb-1.12 with:

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


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

And I got the error:

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.

I've already installed below by following the instruction from the website:

  • util-macros-1.19.0

  • Xorg Protocol Headers

  • linXau-1.0.8

  • libXdmcp-1.1.2

  • xcb-proto-1.12

It seemed there were no issues with xcb-proto installation, but not 100% sure.
I can find some files in
after the installation.

Answer Source

» No package 'xcb-proto' found «

Means no /usr/lib(64)/pkgconfig/xcb-proto.pc

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download