On 16/10/14 14:16, itria30...@itri.org.tw wrote:
> Hi Chris,
>    My experience : try to assign libcap by yourself in configuration 
> parameter.
> Per the question why 1.5.0rc1 works but 1.5.0 doesn't , I leave it to other 
> smart people.

Thanks for the suggestion, but it failed the same way.

pmacct-1.5.0$ ./configure --prefix=/usr --bindir=/usr/sbin
--sysconfdir=/etc/pmacct --enable-64bit --enable-pgsql --enable-sqlite3
--disable-so --with-pcap-libs=/usr/lib64
--with-pcap-includes=/usr/include/pcap
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking OS... Linux
checking hardware... x86_64
checking for ranlib... ranlib
checking whether to enable debugging compiler options... no
checking whether to relax compiler optimizations... no
checking whether to disable linking against shared objects... yes
checking for gmake... gmake
checking whether gmake sets ${MAKE}... yes
checking for __progname... yes
checking for extra flags needed to export symbols... none
checking for static inline... yes
checking endianess... little
checking unaligned accesses... ok
checking whether to enable L2 features... yes
checking whether to enable IPv6 code... no
checking whether to enable IP prefix labels... checking your own pcap
includes... ok
checking your own pcap libraries... ok
checking for PF_RING library... no
checking for pcap_dispatch in -lpcap... no
configure: error:
    ERROR: missing pcap library. Refer to: http://www.tcpdump.org/


I tried variations of the paths but they all failed.

$ ls /usr/include/pcap*
/usr/include/pcap-bpf.h  /usr/include/pcap.h  /usr/include/pcap-namedb.h

/usr/include/pcap:
bluetooth.h  bpf.h  ipnet.h  namedb.h  pcap.h  sll.h  usb.h  vlan.h

$ ls /usr/lib64/libpcap*
/usr/lib64/libpcap.so  /usr/lib64/libpcap.so.1  /usr/lib64/libpcap.so.1.4.0

-- 
Postgresql & php tutorials
http://www.designmagick.com/


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to