编译Mesa时的一个经典错误!
错误详情:
checking for RADEON... yes
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64
注意,这里需要自己下载安装>3.1版本的LLVM,因为用sudo apt-get install llvm装的版本不够新,用不了,还是会提示同样错误。因为之前(这里)装过,记得这个错误,所以下文是直接下载3.5版本,编译安装。
下载LLVM 3.5.0,
http://llvm.org/releases/download.html#3.5
下载的压缩文件为:llvm-3.5.0.src.tar.xz
sudo tar -xvf llvm-3.5.0.src.tar.xz
cd llvm-3.5.0.src/