iafilatov / libfprint

libfrpint driver for a family of Elantech fingerprint sensors
https://cgit.freedesktop.org/libfprint/libfprint/
GNU Lesser General Public License v2.1
146 stars 20 forks source link

Build Fails with Syntax Error #8

Closed moore-bryan closed 6 years ago

moore-bryan commented 6 years ago

While trying to build, I get a syntax error:

./configure: line 16239: syntax error near unexpected token `LIBUSB,'
./configure: line 16239: `PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 0.9.1)'

I tried searching for a solution, but didn't come up with anything...

iafilatov commented 6 years ago

Do you have pkg-config installed? Try running pkg-config --modversion libusb-1.0

moore-bryan commented 6 years ago

That fixed it, thanks! Just an FYI, the autogen completed, but gave a warning at the end: configure: WARNING: unrecognized options: --enable-maintainer-mode

iafilatov commented 6 years ago

Thanks, I know. That message is not related to elan driver. I'm going to close this issue. Feel free to comment or create another one if something else fails.