[Pcsclite-muscle] pcsc-lite-2.2.0: --sbindir meson option broken?
Ludovic Rousseau
ludovic.rousseau at gmail.com
Sat May 4 07:57:06 PDT 2024
Le sam. 4 mai 2024 à 16:16, <balducci at units.it> a écrit :
>
> hello
Hello,
> Apologies if I am missing some blatant point here (I'm not expert in meson)
No problem.
I am also not a meson expert myself :-)
> Looks like the --sbindir meson option is broken in pcsc-lite-2.2.0.
>
> During a test I configure with:
>
> ----8<----
> --prefix=/tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr
> --libdir=/tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/lib64
> --sbindir=/tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/sbin
> --sysconfdir=/tmp/pcsc-lite-test/pcsc-lite/etc/pcsc-lite
> -Dpolkit=false
> -Dusbdropdir="/tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/lib64/pcsc/drivers"
> -Dlibsystemd=false
> ---->8----
>
> At the end of meson configuration the user defined options appear to
> correct:
>
> ----8<----
> pcsc-lite 2.2.0
>
> User defined options
> libdir : /tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/lib64
> prefix : /tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr
> sbindir : /tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/sbin
> sysconfdir: /tmp/pcsc-lite-test/pcsc-lite/etc/pcsc-lite
> libsystemd: false
> polkit : false
> usbdropdir: /tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr/lib64/pcsc/drivers
>
> Found ninja-1.12.0 at /usr/bin/ninja
> ---->8----
>
> but at install time the build throws this error (running as simple user):
[...]
> PermissionError: [Errno 13] Permission denied: '/sbin/pcscd'
> Installing pcscd to /sbin
I think this problem is fixed by
https://github.com/LudovicRousseau/PCSC/commit/960e367edc01518b90684ffff99010ee07ae1bd4
Maybe you should use somethink like:
meson setup builddir --prefix=/tmp/pcsc-lite-test/pcsc-lite-2.2.0/usr
and libdir and sbindir should get the correct values (after my patch above)
Bye
--
Dr. Ludovic Rousseau
More information about the pcsclite-muscle
mailing list