我想在我的新操作系统上安装X窗口。我用Linux内核和GRUB制作了我的操作系统。我的测试程序/sbin/init工作正常。我想将x.org(窗口管理器)安装到我的新操作系统中。x.org使用Mesa库(图形库)。已安装所有依赖项,但编译MESA库失败:
/配置输出
./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.
有人知道为什么会发生这种事吗?谢谢!