JPaulMora / Pyrit

The famous WPA precomputed cracker, Migrated from Google.
GNU General Public License v3.0
1.07k stars 273 forks source link

build and install error #620

Open Cyotoe opened 3 years ago

Cyotoe commented 3 years ago

i tried with python python2 python 2.7 as suggested neither worked

python2.7 setup.py clean build install                                                                                1 ⨯
running clean
removing 'build/temp.linux-x86_64-2.7' (and everything under it)
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/cpyrit
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-qvkjJF/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.5.1" -maes -mpclmul
cpyrit/_cpyrit_cpu.c:40:10: **fatal error:** pcap.h: No such file or directory
   40 | #include **<pcap.h>**
      |          **^~~~~~~~**
compilation terminated.
Failed to build; Compiling without AES-NI
building 'cpyrit._cpyrit_cpu' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-qvkjJF/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.5.1"
cpyrit/_cpyrit_cpu.c:40:10: **fatal error:** pcap.h: No such file or directory
   40 | #include **<pcap.h>**
      |          **^~~~~~~~**
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
vido89 commented 3 years ago

sudo apt-get install libpcap-dev

ParrotCockatiel commented 2 years ago

Dont work!

mrfoxie commented 2 years ago

sudo apt-get install libpcap-dev

 sudo python setup.py install
running install
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
arm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-jQhGoO/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-armv7l-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.5.1"
cpyrit/_cpyrit_cpu.c:32:10: fatal error: Python.h: No such file or directory
   32 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

same error while installing it

jakbin commented 2 years ago

@mrfoxie install package python2-dev

jakbin commented 2 years ago

@kpartho use python2.

CafardNRV commented 2 years ago

python2 or libcap doesn't work for me

jakbin commented 2 years ago

python2 or libcap doesn't work for me

You can't build successfully this because it's need older version of openssl.

anwar-makhous commented 1 year ago

sudo apt-get install libpcap0.8-dev

that worked for me

anwar-makhous commented 1 year ago

python2 or libcap doesn't work for me

You can't build successfully this because it's need older version of openssl.

I am using OpenSSL 3.0.2 on Mint and it's working for me