我想在我的新操作系统上安装X窗口。我使用Linux内核和grub制作了我的操作系统。我的测试程序/ sbin / init工作正常。我想在我的新操作系统上安装x.org(窗口管理器)。 X.org使用Mesa Library(图形库)。已安装所有依赖项,但编译Mesa库失败:
./ configure output
./configure: line 6973: External.*some_variable: command not found
llvm-config: error: libLLVM-6.0.so is missing
输出
它说我没有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.
任何人都可以告诉为什么会发生这种情况。谢谢!
答案 0 :(得分:0)
Knud Larsen在评论中说的就是答案:
libLLVM-6.0.so
由软件包llvm-6.0-dev
提供:仅适用于Ubuntu 18.04。即如果要构建“ mesa的最新版本”,则需要“最新操作系统版本”。