Find and build libpcap-0.8.3.tar.gz. I got my from http://www.tcpdump.org/.
As a root eq. user; wget http://www.tcpdump.org/release/libpcap-0.8.3.tar.gz tar -zxvf libpcap-0.8.3.tar.gz cd libpcap-0.8.3 ./configure (note the leading '.') [look for a bad errors. If none, go to next step] make make install Now go back to ntop and do a; make distclean then ./configure -- J. Eric Josephson Director of Network and System Operations 978-720-2159 mailto:[EMAIL PROTECTED] "Mercer, Jeff" <[EMAIL PROTECTED] To: [email protected] ltacom.com> cc: Sent by: Subject: [Ntop] Problem with Ntop 3.1 and libpcap [EMAIL PROTECTED] .it 01/03/2005 11:22 AM Please respond to ntop I'm trying to compile Ntop 3.1 but am having a problem with the libpcap library. I'm surprised since ntop has generally been very easy to build for most of the revisions over the past 3 years. At least for me. My build platform is a YellowDog Linux 3.0 system running on a G4 powermac. When I run configure, I get a complaint like this: * ERROR: pcap header, bpf or library routines are missing * (yes means it was found, no means it was not found) * * pcap.h...yes * net/bpf.h...yes * pcap-bpf.h...no * pcap_open_live() in -lpcap...yes * pcap_findalldevs() in -lpcap...no * * (One of the bpf files is required, but either will do) The version of libpcap included with YDL 3.0 is an older version (0.6). I found an RPM for my system that installs libcap version 0.8.3. After installing that, I got this configure output: * ERROR: pcap header, bpf or library routines are missing * (yes means it was found, no means it was not found) * * pcap.h...yes * net/bpf.h...no * pcap-bpf.h...yes * pcap_open_live() in -lpcap...no * pcap_findalldevs() in -lpcap...no * * (One of the bpf files is required, but either will do) which is actually worse, since it doesn't even find the open_live() function. So what am I missing? Does Ntop 3.1 require a development copy of libpcap? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Mercer - ITS Security & BTINet Systems Administration "This electronic message transmission contains information from the office of Jeff Mercer, ITC^DeltaCom, Inc., which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone 919-863-7257 or by electronic mail [EMAIL PROTECTED] immediately." _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
