p2rkw / xf86-input-mtrack

Xorg Multitouch Trackpad Driver
GNU General Public License v2.0
489 stars 54 forks source link

mtdev-mapping.h: No such file or directory #108

Open grahammorehead opened 4 years ago

grahammorehead commented 4 years ago

When installing, './configure' runs fine, but 'make' exits almost immediately with this error:

❯ make

make  all-am
make[1]: Entering directory '/home/bizon/Downloads/xf86-input-mtrack'
  CC       src/capabilities.lo
In file included from ./include/capabilities.h:25:0,
                 from src/capabilities.c:22:
./include/common.h:35:27: fatal error: mtdev-mapping.h: No such file or directory
 #include <mtdev-mapping.h>
                           ^
compilation terminated.
Makefile:614: recipe for target 'src/capabilities.lo' failed
make[1]: *** [src/capabilities.lo] Error 1
make[1]: Leaving directory '/home/bizon/Downloads/xf86-input-mtrack'
Makefile:419: recipe for target 'all' failed
make: *** [all] Error 2

OS: Linux dl 5.3.0-53-generic #47~18.04.1-Ubuntu

STEPS TO REPRODUCE:

  1. git clone https://github.com/p2rkw/xf86-input-mtrack.git
  2. cd xf86-input-mtrack
  3. ./configure
  4. make
grahammorehead commented 4 years ago

I think I just resolved it by:

> sudo apt-get install -y libmtdev-dev

and then starting over.