Mesa recently started depending on xcb v1.8.1

darxus at chaosreigns.com darxus at chaosreigns.com
Sat Jul 21 10:08:25 PDT 2012


If you're building on Ubuntu Oneric, that means you need to build 7
additional repos from source.  Precise has xcb 1.8.1.

To make this slightly more interesting, mesa currently doesn't throw the
appropriate error if you're using a version of xcb that's too
old: https://bugs.freedesktop.org/show_bug.cgi?id=52346

An error I got was:  
create_context.c:103:7: error: implicit declaration of function 'xcb_glx_create_context_attribs_arb_checked' [-Werror=implicit-function-declaration]

http://xcb.freedesktop.org/DevelopersGuide/
(I'm thankful I didn't have to figure out the dependencies by trial and
error.)

The repos are:

git://anongit.freedesktop.org/xorg/util/macros
git://anongit.freedesktop.org/xorg/lib/libXau
git://anongit.freedesktop.org/xorg/proto/x11proto
git://anongit.freedesktop.org/xorg/lib/libXdmcp
git://anongit.freedesktop.org/xcb/pthread-stubs
git://anongit.freedesktop.org/xcb/proto
git://anongit.freedesktop.org/xcb/libxcb

They can all be built with:

git clone <repo>
cd <dir>
./autogen.sh --prefix=$WLD
make
make install

Just before mesa.


Since, as Scott Moreau helpfully pointed out, the required version is also
in Fedora 17, I'm not planning to add this stuff to the wayland build
instructions.  


It's possible v1.8.1 isn't exactly the dependency, but that's the rumor,
and I've verified that git master works.

-- 
"Blades don't need reloading." - The Zombie Survival Guide by Max Brooks
http://www.ChaosReigns.com


More information about the wayland-devel mailing list