Skip to content

Instantly share code, notes, and snippets.

@joewilliams
Created August 27, 2010 17:20
Show Gist options
  • Select an option

  • Save joewilliams/553761 to your computer and use it in GitHub Desktop.

Select an option

Save joewilliams/553761 to your computer and use it in GitHub Desktop.
sudo apt-get install libboost1.40-all-dev libnids-dev libnids1.21 libpcap-dev libpcap0.8 pkg-config libglib2.0-dev libnet1-dev libnet1
./configure
make # this will fail
cd src
g++ -g -O2 -o justniffer main.o formatter.o utilities.o regex.o -L../lib/libnids-1.21/src -lnids2 -lpcap -L/usr/lib -lboost_regex-mt -lboost_program_options-mt -lnet -lglib-2.0 -lgthread-2.0
cd ..
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment