Yubico / yubikey-personalization-gui

YubiKey Personalization GUI
https://developers.yubico.com/yubikey-personalization-gui
BSD 2-Clause "Simplified" License
198 stars 38 forks source link

Unable to compile under debian 11 #109

Open onlineapps-cloud opened 9 months ago

onlineapps-cloud commented 9 months ago

hi, i tried to compile but i get error:

qmake && make
Info: creating stash file /home/user/Downloads/yubikey-personalization-gui-3.1.25/.qmake.stash
cd lib/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/user/Downloads/yubikey-personalization-gui-3.1.25/lib/lib.pro ) && make -f Makefile 
Project MESSAGE: Release build
make[1]: Entering directory '/home/user/Downloads/yubikey-personalization-gui-3.1.25/lib'
compiling scanedit.cpp
compiling us-scanedit.cpp
compiling de-scanedit.cpp
compiling bepo-scanedit.cpp
compiling fr-scanedit.cpp
compiling yubikeyutil.cpp
yubikeyutil.cpp:30:10: fatal error: yubikey.h: No such file or directory
   30 | #include <yubikey.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:417: yubikeyutil.o] Error 1
make[1]: Leaving directory '/home/user/Downloads/yubikey-personalization-gui-3.1.25/lib'
make: *** [Makefile:49: sub-lib-make_first-ordered] Error 2

also i tried to install libyubikey-devel without success:

apt install libyubikey-devel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libyubikey-devel

i have already installed pkg-config:

apt install pkg-config
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pkg-config is already the newest version (0.29.2-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

what i need to do, to compile project? best regards.