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

configure: error: pcap.h #9

Open
tvrc4m opened this issue Dec 4, 2017 · 0 comments
Open

configure: error: pcap.h #9

tvrc4m opened this issue Dec 4, 2017 · 0 comments

Comments

@tvrc4m
Copy link

tvrc4m commented Dec 4, 2017

mac@root Homebrew#brew install rae/dsniff/dsniff
==> Installing dsniff from rae/dsniff
==> Installing dependencies for rae/dsniff/dsniff: libpcap
==> Installing rae/dsniff/dsniff dependency: libpcap
==> Downloading https://homebrew.bintray.com/bottles/libpcap-1.8.1.high_sierra.bottle.tar.gz
Already downloaded: /var/root/Library/Caches/Homebrew/libpcap-1.8.1.high_sierra.bottle.tar.gz
==> Pouring libpcap-1.8.1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/libpcap/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/libpcap/lib
CPPFLAGS: -I/usr/local/opt/libpcap/include

==> Summary
🍺 /usr/local/Cellar/libpcap/1.8.1: 102 files, 807.2KB
==> Installing rae/dsniff/dsniff
dsniff: This software can fail to compile when Berkeley-DB 5.x is installed.
You may need to try:
brew unlink berkeley-db
brew install dsniff
brew link berkeley-db
==> Downloading http://monkey.org/~dugsong/dsniff/beta/dsniff-2.4b1.tar.gz
Already downloaded: /var/root/Library/Caches/Homebrew/dsniff-2.4b1.tar.gz
==> ./configure --with-db=/usr/local/opt/berkeley-db --with-libpcap=/usr/local/ --prefix=/usr/local/Cellar/dsniff/2.4b1 --mandir=/usr/local/Cellar/dsniff/2.4b1/share/man --with-l
Last 15 lines from /var/root/Library/Logs/Homebrew/dsniff/01.configure:
checking for strstr... yes
checking for xdr_fhstatus in -lrpcsvc... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dn_expand in -lresolv... yes
checking for dirname... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strsep... yes
checking for MD5Update... no
checking for warnx... yes
checking for ether_ntoa... yes
checking for Berkeley DB with 1.85 compatibility... /usr/local/opt/berkeley-db
checking for libpcap... /usr/local/
configure: error: pcap.h

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/rae/homebrew-dsniff/issues

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

1 participant