Name: xettercap
Version: 1.5.7xerob
File: xettercap-1.5.7xerob.gem
Building native extensions. This could take a while...
ERROR: Error installing xettercap-1.5.7xerob.gem:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c
[*] Running checks for pcaprub_c code...
platform is x86_64-linux-gnu
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... no
checking for pcap_setnonblock() in -lpcap... no
creating Makefile
To see why this extension failed to compile, please check the mkmf.log which can be found here:
current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c
make "DESTDIR=" clean
current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c
make "DESTDIR="
compiling pcaprub.c
pcaprub.c:11:18: fatal error: pcap.h: No such file or directory
Gem files will remain installed in /var/lib/gems/2.3.0/gems/pcaprub-0.12.4 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/pcaprub-0.12.4/gem_make.out
Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal.
root@kali:~/Desktop/xerosploit# xerosploit
bash: xerosploit: command not found
[please help me if anyone know the solution for this issue]
Name: xettercap Version: 1.5.7xerob File: xettercap-1.5.7xerob.gem Building native extensions. This could take a while... ERROR: Error installing xettercap-1.5.7xerob.gem: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.3 -r ./siteconf20170916-3575-xfx95y.rb extconf.rb
[*] Running checks for pcaprub_c code... platform is x86_64-linux-gnu checking for ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_thread_call_without_gvl()... yes checking for pcap_open_live() in -lpcap... no checking for pcap_setnonblock() in -lpcap... no creating Makefile
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/pcaprub-0.12.4/mkmf.log
current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c make "DESTDIR=" clean
current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c make "DESTDIR=" compiling pcaprub.c pcaprub.c:11:18: fatal error: pcap.h: No such file or directory
include
compilation terminated. Makefile:239: recipe for target 'pcaprub.o' failed make: *** [pcaprub.o] Error 1
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/2.3.0/gems/pcaprub-0.12.4 for inspection. Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/pcaprub-0.12.4/gem_make.out Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal. root@kali:~/Desktop/xerosploit# xerosploit bash: xerosploit: command not found
[please help me if anyone know the solution for this issue]