Comments (3)
I'm having the same errors. I'm compiling on OS X 10.11
checking for libpcap... /usr/local/opt/libpcap
./configure: line 410: test: pcap-bpf.h: integer expression expected
configure: error: pcap.h
./configure: line 299: return: pcap-bpf.h: numeric argument required
./configure: line 309: exit: pcap-bpf.h: numeric argument required
As v1k0d3n commented about libpcap, I also tried Apple's copy, and to the same error as well:
checking for libpcap... /usr/lib/libpcap.dylib
./configure: line 410: test: pcap-bpf.h: integer expression expected
configure: error: pcap.h
./configure: line 299: return: pcap-bpf.h: numeric argument required
./configure: line 309: exit: pcap-bpf.h: numeric argument required
I was able to get it to compile by dropping the pcap line:
./configure
--with-openssl=/usr/local/opt/openssl
--with-libnet=/usr/local/opt/libnet
--with-libnids=/usr/local/opt/libnids
--without-x
Currently, I'm getting this:
$ ./mailsnarf
libnet_open_raw4(): SOCK_RAW allocation failed: Operation not permitted
mailsnarf: Bad file descriptor
Update: I'm an idiot. Run it with sudo.
https://trac.macports.org/ticket/38049#comment:3
from dsniff.
@fr3nch13 so it all works for you now?
from dsniff.
Yeah, I just wanted to share what I did in case others have the same issue.
from dsniff.
Related Issues (14)
- Will not build on osx 10.10 HOT 5
- How to configure? How to compile? HOT 9
- Could not use tcpkill HOT 2
- Can't compile under MacOSX 10.13
- Problem compiling dsniff HOT 1
- Can't compile MacOS 10.15.4 HOT 2
- Problems while "make" HOT 1
- After installing, don;t have tools on path HOT 2
- Dsniff cant find /usr/local/share/dsniff/dsniff.services
- arpspoof: libnet_bpf_open(): open(): (/dev/bpf256): No such file or directory on macOS 10.11.6
- configure: error: pcap.h HOT 1
- berkeley DB incompatibility issue
- configure: error: pcap.h
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsniff.