On Mar 24, 2018, at 08:23 PM, Wayne Blaszczyk <[email protected]> wrote:
On Sun, 2018-03-25 at 01:07 +0000, Hans Malissa wrote:
I'm in the process of installing the Xorg Libinput Driver according to instructions in 
BLFS 8.2-systemd, chapter 24, section "Xorg Drivers".
So far I have compiled and installed libevdev-1.5.8, Xorg Evdev Driver-2.10.5, 
and libinput-1.10.0. But when I run the configure script of the Xorg Libinput 
Driver-0.26.0 I get
($XORG_PREFIX="/usr"):

$ ./configure $XORG_CONFIG

...
checking for XORG... yes
checking for LIBINPUT... no
configure: error: Package requirements (libinput >= 1.4.901) were not met:

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

$ whereis libinput
libinput: /usr/bin/libinput /usr/lib64/libinput.so /usr/include/libinput.h 
/usr/libexec/libinput /usr/share/man/man1/libinput.1

It looks like libinput is indeed installed, but somehow the Xorg Libinput Driver-0.26.0 
can't find it. I've run "ldconfig" as root to make sure that everything is up 
to date, but that didn't help
either. What to do? What about the suggestions concerning $PKG_CONFIG_PATH, 
$LIBINPUT_CFLAGS, or $LIBINPUT_LIBS, what to make of these?
Thanks a lot,

Hans

What does 'cat /usr/lib/pkgconfig/libinput.pc' produce?
libinput.so should be under /usr/lib and not /usr/lib64.

Wayne.

Hmm, /usr/lib/pkgconfig/libinput.pc does not exist. But there is 
/usr/lib64/pkgconfig/libinput.pc.
# cat /usr/lib64/pkgconfig/libinput.pc
prefix=/usr
libdir=${prefix}/lib64
includedir=${prefix}/include

Name: Libinput
Description: Input device library
Version: 1.10.0
Libs: -L${libdir} -linput
Cflags: -I${includedir}

Looks like libinput.so ended up in /usr/lib64 rather than /usr/lib indeed. Does 
it need to be moved manually?
Thanks a lot,

Hans
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to