tomac / yersinia

A framework for layer 2 attacks
GNU General Public License v2.0
702 stars 119 forks source link

Yersinia installation on OSX 10.14 #60

Open ifenice81 opened 5 years ago

ifenice81 commented 5 years ago

main.log I try to install Yersinia with the Port but I receive an error in the compilation phase, I tried to compile it myself and launching Autogen I receive └──╼ $sudo ./autogen.sh Warning: I am going to run configure' with no arguments. If you wish to pass any to it, please specify them on the ./autogen.sh' command line.

processing . Running aclocal ... Running autoheader... Running automake --gnu ... Running autoconf ... Running ./configure ... checking build system type... x86_64-apple-darwin18.2.0 checking host system type... x86_64-apple-darwin18.2.0 checking target system type... x86_64-apple-darwin18.2.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for makedepend... /opt/X11/bin/makedepend checking if unaligned accesses fail... no checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -lnsl... no checking for main in -lrt... no checking for a complete set of pcap headers... no !!! couldn't find a complete set of pcap headers Now type `make' to compile.

aoshiken commented 5 years ago

I'm afraid I don't have any VM/computer with OSX available (and not too much time I have to say)

fabaff commented 4 years ago

In the SPEC file for the Fedora package we have

BuildRequires:  libpcap-devel

to satisfy that requirement. Will probably have a different name (e.g., libpcpa-dev or alike) on your system.