Hi Chris, I just happened to build pmacct1.5 on another clean machine of os centos 6.5. Would you check your installed lib? Here is mine: >[root@LDeltaR1S9 log]# yum list installed | grep pcap >libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 @base >libpcap-devel.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 @base
And my configure >./configure --enable-mysql --with-pcap-libs=/usr/lib64/ --enable-pgsql >--enable-geoip My case is that configure might not able to find right location maybe it defaultly search for some other 32-bits libs location so that I have to manually assign it. -----Original Message----- From: pmacct-discussion [mailto:[email protected]] On Behalf Of Chris Sent: Friday, October 17, 2014 7:29 AM To: [email protected] Subject: Re: [pmacct-discussion] trouble compiling 1.5.0 On 16/10/14 14:16, [email protected] 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 ==================================================================== 本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient. _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
