Я следую этому рецепту для сборки 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
. Что я делаю не так?
Вам нужен пакет разработки, а не только бинарный пакет runtime:
$ dpkg -S xorg-server.pc
xserver-xorg-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/xorg-server.pc