[Xcb] No "xcb-xlib.pc" file?

Josh Triplett josh at joshtriplett.org
Fri Sep 4 07:47:28 PDT 2009

On Thu, Sep 03, 2009 at 10:03:05PM +0000, jdavies wrote:
> Hi - apologies if this isn't the right forum.

Definitely the right forum.  But please don't send a mail to the list by
replying to another mail, unless you actually want to respond to that
mail.  Doing so buries your mail in the middle of the thread you replied
to. :)

> I'm trying to upgrade my
> X libraries - I downloaded the libX11-1.1.5 source, and when I try
> to ./configure it, I get:
> checking for X11... configure: error: Package requirements (xextproto
> xtrans xcb-xlib >= 0.9.92) were not met:
> No package 'xcb-xlib' found
> Easy to fix, I just download xlibxcb-1.4, ./configure, make, make
> install and... get the same error.  Apparently there's no xcb-xlib.pc
> file in the latest XCB.  Is there supposed to be, or is libX11-1.1.5 in
> error?

Version mismatch.  As Rémi Cardona pointed out, you either need a newer
Xlib (which no longer needs xcb-xlib) or an older XCB (which provides
xcb-xlib).  I'd highly recommend a newer Xlib, which makes the Xlib/XCB
interface far more robust.

- Josh Triplett

More information about the Xcb mailing list