Comment 1 for bug 1161069

Revision history for this message
Jeroen (p-launchpad-3) wrote :

To compile nfdump with PCAP support (tested on Trisquel 7.0):

$ apt-get source nfdump
- cd to the directory nfdump-1.6.8p1 (or whatever your version number may be)
- change debian/rules to add an extra configure option --enable-readpcap:
DEB_CONFIGURE_EXTRA_FLAGS += --enable-readpcap
- change debian/control and add "libpcap-dev" to Build-Depends
- dpkg-buildpackage -rfakeroot
-- you need to have build-essentials and fakeroot installed and will probably get prompted for dependencies of nfdump which need to be installed
- Once done, install the package.