I'm following this recipe to build xf86-input-libinput from source with a patch applied.
The command ./configure --prefix=/usr
gives me an error that I haven't been able to resolve:
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.
I've already installed xserver-xorg
, it's at the newest version 1:7.7+22ubuntu1
. What am I doing wrong?
dpkg -S
will work only for already installed. Why not recommendapt-file
or https://packages.ubuntu.com/search?suite=hirsute&arch=amd64&mode=exactfilename&searchon=contents&keywords=xorg-server.pc ? – N0rbert Jul 28 '21 at 18:35