Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yersinia installation on OSX 10.14 #60

Open
ifenice81 opened this issue Jan 12, 2019 · 3 comments
Open

Yersinia installation on OSX 10.14 #60

ifenice81 opened this issue Jan 12, 2019 · 3 comments

Comments

@ifenice81
Copy link

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
Copy link
Collaborator

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

@fabaff
Copy link

fabaff commented Mar 27, 2020

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.

@jirhdc
Copy link

jirhdc commented Dec 3, 2024

On MacOS, the PCAP headers are in /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include. You can specify the location --with-pcap-includes=/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants