BoboTiG / cracker-ng

ZIP cracker, CCRYPT cracker, and others to come.
GNU General Public License v2.0
90 stars 10 forks source link

make[1]: g++: No such file or directory, [Makefile:45: cptfunctions.o] Error 127 #15

Closed UnknownWitcher closed 2 years ago

UnknownWitcher commented 2 years ago

I'm trying to compile this with no luck and not sure if it's a bug or something on my end.

Ubuntu 22.04.1 LTS

witcher:~/Desktop/cracker-ng$ make modules
 ~ Cracker-ng, a multiple file password finder.
 + Building cpt module ...
make -C src/ cpt clean DEBUG=0
make[1]: Entering directory '/home/witcher/Desktop/cracker-ng/src'
g++ -O3 -ffast-math -march=native -D_FILE_OFFSET_BITS=64 -Wfatal-errors -Werror -Wall -W -pedantic -Wextra -Wunused -Wformat=2 -Weffc++ -Wpadded -fexceptions -c shared/functions.cc -o cptfunctions.o -DCPT
make[1]: g++: No such file or directory
make[1]: *** [Makefile:45: cptfunctions.o] Error 127
make[1]: Leaving directory '/home/witcher/Desktop/cracker-ng/src'
make: *** [Makefile:21: cpt] Error 2
BoboTiG commented 2 years ago

Try installing g++:

sudo apt update
sudo apt install build-essential