Open noufalkalam opened 7 years ago
sudo apt-get install libpcap-dev
1.try install the Dependencies one by one, i have the problem like you and i fixes the problem
2.follow this tutorial , after you have install the dependencies
link : https://youtu.be/CxYuLYpdDEA
WARNING: bin/xettercap is not executable WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem 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 ./siteconf20161215-3740-edww7l.rb extconf.rb
[*] Running checks for pcaprub_c code... platform is i386-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-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-linux/2.3.0/pcaprub-0.12.4/gem_make.out Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal.