On 25/03/2018 18:15, Hans Malissa wrote: > 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.
That should not happen. Do you have something else in /usr/lib64? > Does it need to be moved manually? I guess you can do that. But I'd suggest you understand why libinput landed into /usr/lib64 in the first place: if it happened to libinput, it may happen to other packages. A normal build of LFS/BLFS does not create /usr/lib64. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
