ZerBea / hcxtools

A small set of tools to convert packets from capture files to hash files for use with Hashcat or John the Ripper.
MIT License
2.03k stars 393 forks source link

"make" fails - pcap.h: No such file or directory #61

Closed tensigh closed 6 years ago

tensigh commented 6 years ago

I can't seem to run make.

wlanhcx2cap.c:12:18: fatal error: pcap.h: No such file or directory

include

              ^

compilation terminated. Makefile:79: recipe for target 'wlanhcx2cap' failed make: *** [wlanhcx2cap] Error 1

pcap.h doesn't appear in the directory hcxtools, where can I find it?

strasharo commented 6 years ago

https://github.com/ZerBea/hcxtools/issues/56#issuecomment-412025926

ZerBea commented 6 years ago

Not a hcxtools issue. You have to ask the developer of your distribution. If you're running KALI, please read this: https://unix.stackexchange.com/questions/399626/why-is-kali-linux-so-hard-to-set-up-why-wont-people-help-me

tensigh commented 6 years ago

Thanks. I'm not running Kali but I'll see if there's something useful there.

ctrl-hack commented 5 years ago

I can't seem to run make.

wlanhcx2cap.c:12:18: fatal error: pcap.h: No such file or directory

include

^ compilation terminated. Makefile:79: recipe for target 'wlanhcx2cap' failed make: *** [wlanhcx2cap] Error 1

pcap.h doesn't appear in the directory hcxtools, where can I find it?

apt-get install libpcap0.8-dev worked for me

ZerBea commented 5 years ago

@JamalMuradov that will not work any longer, because I removed wlanhcx2cap. Also I removed libpcap dependency. Read more here: https://github.com/ZerBea/hcxtools/issues/81#issuecomment-461116551