hcxtools: not able to install
not able to perform make, trying on the below: Linux version 4.14.0-kali3-amd64 (devel@kali.org) (gcc version 7.2.0 (Debian 7.2.0-18)) #1 SMP Debian 4.14.12-2kali1 (2018-01-08)
result:
~/Desktop/WIFI/Hashcat/hcxtools# make gcc -std=gnu99 -O3 -Wall -Wextra -o wlandump-ng wlandump-ng.c -lpcap -lrt wlandump-ng.c:23:10: fatal error: pcap.h: No such file or directory #include <pcap.h> ^~~~~~~~ compilation terminated. Makefile:34: recipe for target 'build' failed make: *** [build] Error 1
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 59 (30 by maintainers)
Hi, you’re missing libpcap dependency. Install it with
sudo apt install libpcap-devPushed an update of hcxdumptool. Now we’re using pkg-config, too. Please try.
I had the same problem but, here’s the solution. Use command : apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev libpcap-dev
And the “make install”
Give me some minutes to try something.
Please comment output of $ uname -a to see what version you are using. Make sure, your system is updated to latest version. Read more here: https://linuxconfig.org/how-to-update-kali-linux If that doesn’t work, your KALI is broken and you have to install it again. I assume your system is broken!
Now Clean up your folders: rm -r hcxtools rm -r hcxdumptool
Than do a fresh git clone: git clone https://github.com/ZerBea/hcxtools git clone https://github.com/ZerBea/hcxdumptool
Install dependencies as mentioned in README.md $ apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev
Now you’re ready to compile the tools: cd hcxtools $ sudo make $ sudo make install $ cd …/hcxdumptool $ sudo make $ sudo make install $ cd …
After this, you are ready to use hcxtools.
As of todays update (v 5.1.1), libpcap-dev is no longer needed. I got rid of that dependency. From new README.md: Requirements
You need to install the libpcap-dev package. Check the readme:
To install requirements on Kali use the following 'apt-get install libpcap-dev libcurl4-openssl-dev libssl-dev'