LionSec / xerosploit

Efficient and advanced man in the middle framework
GNU General Public License v3.0
2.02k stars 650 forks source link

error #44

Open noufalkalam opened 7 years ago

noufalkalam commented 7 years ago

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.

current directory: /var/lib/gems/2.3.0/gems/pcaprub-0.12.4/ext/pcaprub_c

/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.

068089dy commented 7 years ago

sudo apt-get install libpcap-dev

Itsqy commented 2 years ago

please follow this step by step

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