我正在按照这个recipe从源代码构建xf86-input-libinput,并应用了一个补丁。
执行命令
我已经安装了
执行命令
./configure --prefix=/usr
时出现了一个错误,我还没有解决。checking for xorg-server >= 1.10 xproto inputproto >= 2.2... no
configure: error: Package requirements (xorg-server >= 1.10 xproto inputproto >= 2.2) were not met:
No package 'xorg-server' 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 XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我已经安装了
xserver-xorg
,它是最新版本 1:7.7+22ubuntu1
。我做错了什么?
dpkg -S
只适用于已安装的软件包。为什么不推荐使用apt-file
或者 https://packages.ubuntu.com/search?suite=hirsute&arch=amd64&mode=exactfilename&searchon=contents&keywords=xorg-server.pc? - N0rbert