Popax21 / synaTudor

GNU Lesser General Public License v2.1
92 stars 10 forks source link

innoextract: command not found #11

Closed AdnanHodzic closed 1 year ago

AdnanHodzic commented 1 year ago

Hi,

I came across this project on https://github.com/nmikhailov/Validity90/issues/73

Before instructions can be followed, I would suggest that all necessary dependencies are listed as part of Readme, as I was doing this on fresh install of Ubuntu 22.10 and I had to install following dependencies to get clean output of meson build.

sudo apt-get install meson pkg-config cmake ninja-build net-tools libcurl4-openssl-dev libssl-dev libusb-1.0-0-dev libcap-dev libseccomp-dev libglib2.0-dev libdbus-glib-1-dev libfprint-2-tod-dev libjson-glib-dev

Regardless, after clean meson build and cd build followed by running ninja I run into following issues, any idea how to resolve this?

ninja
[13/39] Generating libtudor/driver-download with a custom command
FAILED: libtudor/synaFpAdapter104.dll libtudor/synaWudfBioUsb104.dll 
/usr/bin/bash ../libtudor/download_driver.sh ../libtudor/installer.sha libtudor/synaFpAdapter104.dll.p libtudor synaFpAdapter104.dll synaWudfBioUsb104.dll
--2023-02-05 09:05:02--  https://download.lenovo.com/pccbbs/mobiles/r19fp02w.exe
Resolving download.lenovo.com (download.lenovo.com)... 23.51.74.105
Connecting to download.lenovo.com (download.lenovo.com)|23.51.74.105|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2618016 (2,5M) [application/octet-stream]
Saving to: ‘libtudor/synaFpAdapter104.dll.p/installer.exe’

     0K .......... .......... .......... .......... ..........  1% 3,18M 1s
    50K .......... .......... .......... .......... ..........  3% 7,27M 1s
   100K .......... .......... .......... .......... ..........  5% 9,17M 0s
   150K .......... .......... .......... .......... ..........  7% 13,0M 0s
   200K .......... .......... .......... .......... ..........  9% 15,7M 0s
   250K .......... .......... .......... .......... .......... 11% 8,66M 0s
   300K .......... .......... .......... .......... .......... 13% 21,8M 0s
   350K .......... .......... .......... .......... .......... 15% 42,6M 0s
   400K .......... .......... .......... .......... .......... 17% 29,4M 0s
   450K .......... .......... .......... .......... .......... 19% 44,8M 0s
   500K .......... .......... .......... .......... .......... 21% 26,5M 0s
   550K .......... .......... .......... .......... .......... 23% 47,1M 0s
   600K .......... .......... .......... .......... .......... 25% 16,4M 0s
   650K .......... .......... .......... .......... .......... 27% 27,2M 0s
   700K .......... .......... .......... .......... .......... 29%  357M 0s
   750K .......... .......... .......... .......... .......... 31% 34,5M 0s
   800K .......... .......... .......... .......... .......... 33% 25,6M 0s
   850K .......... .......... .......... .......... .......... 35%  327M 0s
   900K .......... .......... .......... .......... .......... 37% 6,90M 0s
   950K .......... .......... .......... .......... .......... 39% 29,9M 0s
  1000K .......... .......... .......... .......... .......... 41% 29,6M 0s
  1050K .......... .......... .......... .......... .......... 43%  330M 0s
  1100K .......... .......... .......... .......... .......... 44% 23,3M 0s
  1150K .......... .......... .......... .......... .......... 46%  268M 0s
  1200K .......... .......... .......... .......... .......... 48%  311M 0s
  1250K .......... .......... .......... .......... .......... 50% 28,9M 0s
  1300K .......... .......... .......... .......... .......... 52%  251M 0s
  1350K .......... .......... .......... .......... .......... 54% 33,6M 0s
  1400K .......... .......... .......... .......... .......... 56%  304M 0s
  1450K .......... .......... .......... .......... .......... 58% 23,5M 0s
  1500K .......... .......... .......... .......... .......... 60%  267M 0s
  1550K .......... .......... .......... .......... .......... 62% 50,2M 0s
  1600K .......... .......... .......... .......... .......... 64% 13,1M 0s
  1650K .......... .......... .......... .......... .......... 66% 27,3M 0s
  1700K .......... .......... .......... .......... .......... 68% 17,7M 0s
  1750K .......... .......... .......... .......... .......... 70%  292M 0s
  1800K .......... .......... .......... .......... .......... 72%  319M 0s
  1850K .......... .......... .......... .......... .......... 74% 35,7M 0s
  1900K .......... .......... .......... .......... .......... 76%  293M 0s
  1950K .......... .......... .......... .......... .......... 78% 25,3M 0s
  2000K .......... .......... .......... .......... .......... 80%  274M 0s
  2050K .......... .......... .......... .......... .......... 82% 37,6M 0s
  2100K .......... .......... .......... .......... .......... 84%  191M 0s
  2150K .......... .......... .......... .......... .......... 86%  333M 0s
  2200K .......... .......... .......... .......... .......... 88% 43,7M 0s
  2250K .......... .......... .......... .......... .......... 89% 26,2M 0s
  2300K .......... .......... .......... .......... .......... 91%  296M 0s
  2350K .......... .......... .......... .......... .......... 93%  202M 0s
  2400K .......... .......... .......... .......... .......... 95%  326M 0s
  2450K .......... .......... .......... .......... .......... 97% 35,8M 0s
  2500K .......... .......... .......... .......... .......... 99%  318M 0s
  2550K ......                                                100%  339M=0,1s

2023-02-05 09:05:03 (26,0 MB/s) - ‘libtudor/synaFpAdapter104.dll.p/installer.exe’ saved [2618016/2618016]

../libtudor/download_driver.sh: line 18: innoextract: command not found
cp: missing destination file operand after 'libtudor/synaFpAdapter104.dll'
Try 'cp --help' for more information.
cp: missing destination file operand after 'libtudor/synaWudfBioUsb104.dll'
Try 'cp --help' for more information.
[22/39] Compiling C object libtudor/libtudor.so.p/src_winapi_wdf_usb.c.o
ninja: build stopped: subcommand failed.

Thanks!

major-mayer commented 1 year ago

As written in the readme, you also have to install innoextract from your package manager

AdnanHodzic commented 1 year ago

Works like a charm, great stuff! I do still recommend that dependencies mention in this issue are listed as necessary to be installed on Ubuntu/Debian.