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

Install dependancies on Fedora #43

Open illegitimate-egg opened 1 year ago

illegitimate-egg commented 1 year ago

I'm trying to compile this on fedora 37. I cannot acquire the requirements and I'm not prompted for them. This is the output of venv/bin/meson builddir_debug

The Meson build system
Version: 1.0.0
Source dir: /home/cpeck/libfprint
Build dir: /home/cpeck/libfprint/builddir_dbg
Build type: native build
Project name: libfprint
Project version: 0.7.0
C compiler for the host machine: cc (gcc 12.2.1 "cc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
C linker for the host machine: cc ld.bfd 2.38-24
C++ compiler for the host machine: c++ (gcc 12.2.1 "c++ (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
C++ linker for the host machine: c++ ld.bfd 2.38-24
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -fgnu89-inline: YES 
Compiler for C supports arguments -fvisibility=hidden: YES 
Compiler for C supports arguments -std=gnu99: YES 
Compiler for C supports arguments -Wall: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Werror-implicit-function-declaration: YES 
Compiler for C supports arguments -Wno-pointer-sign: YES 
Compiler for C supports arguments -Wshadow: YES 
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency glib-2.0 found: YES 2.74.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libusb-1.0 found: NO (tried pkgconfig)

meson.build:42:0: ERROR: Dependency "libusb-1.0" not found, tried pkgconfig

A full log can be found at /home/cpeck/libfprint/builddir_dbg/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
muneebkq commented 1 year ago

@illegitimate-egg libglib2.0-dev libnss3-dev libpixman-1-dev libusb-1.0.0-dev libx11-dev libxv-dev pkg-config

Install all these dependencies before venv/bin/meson builddir_dbg