Compiler errors 无法编译Mesa,x.org

Compiler errors 无法编译Mesa,x.org,compiler-errors,llvm,xorg,mesa,Compiler Errors,Llvm,Xorg,Mesa,我想在我的新操作系统上安装X window。我用Linux内核和grub制作了我的操作系统。我的测试程序/sbin/init运行良好。我想在我的新操作系统上安装x.org窗口管理器。org使用Mesa库图形库。已安装所有依赖项,但编译Mesa库失败: /配置输出 输出 它说我没有libLLVMm。事实并非如此: root@Ubuntu-desktop:/usr/lib/llvm-3.9# ls -la total 56 drwxr-xr-x 8 root root 4096 jun 16

我想在我的新操作系统上安装X window。我用Linux内核和grub制作了我的操作系统。我的测试程序/sbin/init运行良好。我想在我的新操作系统上安装x.org窗口管理器。org使用Mesa库图形库。已安装所有依赖项,但编译Mesa库失败:

/配置输出

输出

它说我没有libLLVMm。事实并非如此:

root@Ubuntu-desktop:/usr/lib/llvm-3.9# ls -la
total 56
drwxr-xr-x   8 root root  4096 jun 16 15:40 .
drwxr-xr-x 165 root root 20480 jun 16 17:03 ..
drwxr-xr-x   2 root root  4096 jun 16 15:40 bin
drwxr-xr-x   2 root root  4096 jun 16 15:40 build
lrwxrwxrwx   1 root root    14 jul 26  2017 cmake -> lib/cmake/llvm
drwxr-xr-x   3 root root  4096 jun 16 15:40 include
drwxr-xr-x   5 root root 12288 jun 16 15:40 lib
drwxr-xr-x   2 root root  4096 jun 16 15:40 libexec
drwxr-xr-x   7 root root  4096 jun 16 15:40 share
root@Ubuntu-desktop:/usr/lib/llvm-3.9# sudo apt install llvm-3.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
llvm-3.9 is already the newest version.
The following packages were automatically installed and are no longer required:
  libqpdf13 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

谁能告诉我为什么会这样。谢谢

克努德·拉森在评论中说的是答案:

libLLVM-6.0.so由llvm-6.0-dev包提供:仅适用于Ubuntu 18.04。也就是说,如果您想构建最新版本的mesa,那么需要最新的操作系统版本。

libLLVM-6.0.so由llvm-6.0-dev包提供:仅适用于Ubuntu 18.04。也就是说,如果要构建最新版本的mesa,则需要最新的操作系统版本。
root@Ubuntu-desktop:/usr/lib/llvm-3.9# ls -la
total 56
drwxr-xr-x   8 root root  4096 jun 16 15:40 .
drwxr-xr-x 165 root root 20480 jun 16 17:03 ..
drwxr-xr-x   2 root root  4096 jun 16 15:40 bin
drwxr-xr-x   2 root root  4096 jun 16 15:40 build
lrwxrwxrwx   1 root root    14 jul 26  2017 cmake -> lib/cmake/llvm
drwxr-xr-x   3 root root  4096 jun 16 15:40 include
drwxr-xr-x   5 root root 12288 jun 16 15:40 lib
drwxr-xr-x   2 root root  4096 jun 16 15:40 libexec
drwxr-xr-x   7 root root  4096 jun 16 15:40 share
root@Ubuntu-desktop:/usr/lib/llvm-3.9# sudo apt install llvm-3.9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
llvm-3.9 is already the newest version.
The following packages were automatically installed and are no longer required:
  libqpdf13 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
  linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.