Need help in builing Mesa

Srivardhan M S srivardhanms at
Wed Mar 26 22:13:03 PDT 2014

Thanks Zhang,

Now am struck with another issue:
configure: error: Could not find llvm shared libraries:
Please make sure you have built llvm with the --enable-shared option
and that your llvm libraries are installed in /usr/lib/llvm-2.9/lib
If you have installed your llvm libraries to a different directory you
can use the --with-llvm-prefix= configure flag to specify this directory.
NOTE: Mesa is attempting to use llvm shared libraries by default.
If you do not want to build with llvm shared libraries and instead want to
use llvm static libraries then add --disable-llvm-shared-libs to your configure
invocation and rebuild.

I've installed all llvm libraries. I did "sudo apt-get install llvm*"
and installed all llvm libs. Still am getting the error. Can you pls
let me know how I can proceed?


On Thu, Mar 27, 2014 at 10:20 AM, Zhang, Xiong Y
<xiong.y.zhang at> wrote:
> You can build Mesa with --disable-dri3
> thanks
> -----Original Message-----
> From: wayland-devel [mailto:wayland-devel-bounces at] On Behalf Of Srivardhan M S
> Sent: Thursday, March 27, 2014 12:25 PM
> To: wayland-devel at
> Subject: Need help in builing Mesa
> Hi,
> I am new to Wayland. I am following the instructions in the link to build wayland. I successfully cloned wayland and drm and compiled them. But am struck in mesa.
> I've cloned the mesa code. When I run the as in the instructions, I get following error:
> checking for DRI3PROTO... no
> configure: error: Package requirements (dri3proto >= 1.0) were not met:
> No package 'dri3proto' 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 DRI3PROTO_CFLAGS and DRI3PROTO_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> Am using Ubuntu 12.04 and am not able to find the DRI3PROTO package via apt-get. Can pls let me know how I can proceed.
> Thank-you,
> Sri
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at

More information about the wayland-devel mailing list