Closed andreareina closed 1 year ago
Same thing happens using the exact invocation given in the wiki
/tmp $ rm -rf xf86-input-wacom-1.1.0/
0 ✓ (11.4ms) 18:48:55 andrea@andrea-desktop
/tmp $ tar xf ~/Downloads/xf86-input-wacom-1.1.0.tar.bz2
0 ✓ (127ms) 18:49:02 andrea@andrea-desktop
/tmp $ cd xf86-input-wacom-1.1.0/
0 ✓ (6.8ms) 18:49:04 andrea@andrea-desktop
/tmp/xf86-input-wacom-1.1.0 $ set -- --prefix="/usr" --libdir="$(readlink -e $(ls -d /usr/lib*/xorg/modules/input/../../../ | head -n1))"
0 ✓ (19.4ms) 18:49:08 andrea@andrea-desktop
/tmp/xf86-input-wacom-1.1.0 $ if test -x ./autogen.sh; then ./autogen.sh "$@"; else ./configure "$@"; fi && make && sudo make install || echo "Build Failed"
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
[...]
make[2]: Entering directory '/tmp/xf86-input-wacom-1.1.0/src'
Makefile:530: ../src/.deps/wacom_drv_la-wcmCommon.Plo: No such file or directory
Makefile:531: ../src/.deps/wacom_drv_la-wcmConfig.Plo: No such file or directory
Makefile:532: ../src/.deps/wacom_drv_la-wcmFilter.Plo: No such file or directory
Makefile:533: ../src/.deps/wacom_drv_la-wcmTouchFilter.Plo: No such file or directory
Makefile:534: ../src/.deps/wacom_drv_la-wcmUSB.Plo: No such file or directory
Makefile:535: ../src/.deps/wacom_drv_la-wcmValidateDevice.Plo: No such file or directory
Makefile:536: ../src/x11/.deps/wacom_drv_la-xf86Wacom.Plo: No such file or directory
Makefile:537: ../src/x11/.deps/wacom_drv_la-xf86WacomProperties.Plo: No such file or directory
make[2]: *** No rule to make target '../src/x11/.deps/wacom_drv_la-xf86WacomProperties.Plo'. Stop.
make[2]: Leaving directory '/tmp/xf86-input-wacom-1.1.0/src'
Makefile:526: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/xf86-input-wacom-1.1.0'
Makefile:435: recipe for target 'all' failed
make: *** [all] Error 2
Build Failed
confirmed on 18.04 in a podman container. Looks like this is an automake bug that has been fixed since and it no works. possible that the subdir-objects
which changed at some point in the recent-ish past triggers this but... dunno.
Not sure how to fix this but I'll take any suggestions. You might have better luck installing meson and ninja from pip and installing it that way if automake can't be updated.
Ahh, I thought it might have been some issue with the .am files and I tried to peek under the hood but got scared away haha. In the end I fixed my issue by manually moving the files and compilation was successful after that.
Cheers!
autogen.sh
is creating paths with a literal "$(top_srcdir)", with the result that make can't find the files:OS: Ubuntu 18.04 LTS (yeah I've been lazy about upgrading :sweat_smile:)
Terminal session: