Help compiling mesa/gallium from git!

Pekka Paalanen ppaalanen at
Wed Feb 19 04:11:02 PST 2014

On Tue, 18 Feb 2014 23:58:41 -0800
Bill Spitzak <spitzak at> wrote:

> Okay, a bit more luck, in that I can compile weston.
> I mostly discovered that there are parts of mesa you just cannot turn 
> off, no matter how much you are certain they are not used. Mesa 
> internally has calls into various functions in these modules from others 
> so they cannot be removed.
> My current mesa configuration:
>    ./ --prefix=$WLD --enable-gles2 --enable-gallium-egl \
>        --with-egl-platforms=wayland,x11,drm --enable-gbm \
>        --with-gallium-drivers=swrast \
>        --with-dri-drivers=swrast --disable-dri3 --disable-glx

Btw. whenever you reconfigure Mesa, and especially if you use Mesa
in-place without installing it to a prefix, it is good to do a 'git
clean -dxf' before configuring. Just in case, and particularly if you
do not do a 'make distclean' before reconfiguring.

- pq

More information about the wayland-devel mailing list