解决--编译Mesa:No package 'dri3proto' found

checking for DRI2PROTO... yes
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.


解决方法:

原本用:

sudo ./configure


现在用:

sudo ./configure --disable-dri3

就可以了。

你可能感兴趣的:(error,mesa)