xorg-server was not found in the pkg-config

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'

openSUSE
zypper in xorg-x11-server-sdk
原文地址:https://www.cnblogs.com/penguins/p/6673407.html