Debian

安裝 xorg 伺服器

  • July 28, 2020

我在安裝 xorg-server 時遇到了這個問題。(從源安裝)

configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:

No package 'gl' 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 GL_CFLAGS
and GL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

我必須安裝軟體包嗎?如果是這樣,我應該安裝什麼包?

您可以通過命令獲取所有依賴項: apt-get build-dep xserver-xorg-core

但是使用來自 sid repo 的最新 xserver-xorg-core 的官方 debian 源要容易得多:https ://packages.debian.org/sid/xserver-xorg-core

引用自:https://unix.stackexchange.com/questions/600685