Giter VIP home page Giter VIP logo

Comments (3)

fr3nch13 avatar fr3nch13 commented on August 18, 2024

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.

v1k0d3n avatar v1k0d3n commented on August 18, 2024

@fr3nch13 so it all works for you now?

from dsniff.

fr3nch13 avatar fr3nch13 commented on August 18, 2024

Yeah, I just wanted to share what I did in case others have the same issue.

from dsniff.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.