AltraMayor / f3

F3 - Fight Flash Fraud
https://fight-flash-fraud.readthedocs.io/en/stable/
GNU General Public License v3.0
2.52k stars 141 forks source link

can't compile neither f3fix nor f3probe on Ubuntu 22 LTS #199

Closed gitterman closed 1 year ago

gitterman commented 1 year ago
make f3fix
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o libutils.o libutils.c
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3fix.o f3fix.c
f3fix.c:4:10: fatal error: parted/parted.h: No such file or directory
    4 | #include <parted/parted.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: f3fix.o] Error 1

make f3probe
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o libdevs.o libdevs.c
libdevs.c:21:10: fatal error: libudev.h: No such file or directory
   21 | #include <libudev.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: libdevs.o] Error 1
AltraMayor commented 1 year ago

Have you installed the dependencies that those apps require as described in the section Install dependencies of the README file?

gitterman commented 1 year ago

Thanks for the quick reply. Indeed, I did miss this requirement. As Linux is the 1st on the list of installations, I did not check if there was another paragraph on Linux further down.