Re: [pmacct-discussion] unable to compile latest pmacct with pfring enabled libpcap ...
It doesn't works :( ... same error ./configure --with-pcap-includes=/usr/src/pf_ring/PF_RING/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/usr/local/lib #ls 2010/2/18 Yavetskiy Yuriy yavets...@kpi.ua Hello. Try to use --with-pcap-includes=/path/to/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/path/to/lib Sébastien Cramatte wrote: Hello, I've donwloaded, compiled and installed the latest pf_ring patch. Ntop works as expected but unfortunately I'm unable to compile pmacct-0.12.0 : checking whether to disable L2 features... no checking whether to enable IPv6 code... no checking default locations for pcap.h... found in /usr/local/include checking default locations for libpcap... found in /usr/local/lib checking for pcap_dispatch in -lpcap... no configure: error: ERROR: missing pcap library. Refer to: http://www.tcpdump.org/ ... Any ideas of what occurs ? I suspect that I should add somewhre LDFLAGS with -lpfring ... Thank you for your help ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists -- WBR Yavetskiy Yuriy ULTI-RIPE ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
Re: [pmacct-discussion] unable to compile latest pmacct with pfring enabled libpcap ...
Hi Sebastien, It's not clear to me if this was working for you before (some earlier pmacct release) and it doesn't instead with the latest. I've just tried myself to compile pmacct 0.12.0 against a libpcap 1.0.0 (vanilla) and it works fine. I'm also fairly sure this worked up to 0.12.0rc4 for others - Yuriy should be among them. Cheers, Paolo On Thu, Feb 18, 2010 at 01:01:14PM +0100, S?bastien Cramatte wrote: It doesn't works :( ... same error ./configure --with-pcap-includes=/usr/src/pf_ring/PF_RING/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/usr/local/lib #ls 2010/2/18 Yavetskiy Yuriy yavets...@kpi.ua Hello. Try to use --with-pcap-includes=/path/to/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/path/to/lib S?bastien Cramatte wrote: Hello, I've donwloaded, compiled and installed the latest pf_ring patch. Ntop works as expected but unfortunately I'm unable to compile pmacct-0.12.0 : checking whether to disable L2 features... no checking whether to enable IPv6 code... no checking default locations for pcap.h... found in /usr/local/include checking default locations for libpcap... found in /usr/local/lib checking for pcap_dispatch in -lpcap... no configure: error: ERROR: missing pcap library. Refer to: http://www.tcpdump.org/ ... Any ideas of what occurs ? I suspect that I should add somewhre LDFLAGS with -lpfring ... Thank you for your help ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists -- WBR Yavetskiy Yuriy ULTI-RIPE ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
Re: [pmacct-discussion] unable to compile latest pmacct with pfring enabled libpcap ...
Hi Sebastien, Unfortunately it's not something quick to reproduce as i'm myself mostly based on Solaris. I will gladly have a look on your box instead. Anyway: what the configure script was complaining is the checking for pcap_dispatch in -lpcap check. Meaning the libpcap.a doesn't exist or doesn't appear to be valid. The issue doesn't look connected to PF_RING specifically. Consider also pmacct doesn't have any native support for PF_RING (which ntop might have instead), so I don't think you should ever link with -lpfring - but I can indeed be mistaken. Cheers, Paolo On Thu, Feb 18, 2010 at 02:12:18PM +0100, S?bastien Cramatte wrote: Hi, It's true ... was working with an old release with debian eth on x86 platform. Now we have upgraded to debian squeeze on x86_64 platform. Note that we are using pf_ring and it works perfectly with ntop ... Could you try to build it using libpcap from pf_ring svn ? svn co https://svn.ntop.org/svn/ntop/trunk/PF_RING/ 2010/2/18 Paolo Lucente pa...@pmacct.net Hi Sebastien, It's not clear to me if this was working for you before (some earlier pmacct release) and it doesn't instead with the latest. I've just tried myself to compile pmacct 0.12.0 against a libpcap 1.0.0 (vanilla) and it works fine. I'm also fairly sure this worked up to 0.12.0rc4 for others - Yuriy should be among them. Cheers, Paolo On Thu, Feb 18, 2010 at 01:01:14PM +0100, S?bastien Cramatte wrote: It doesn't works :( ... same error ./configure --with-pcap-includes=/usr/src/pf_ring/PF_RING/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/usr/local/lib #ls 2010/2/18 Yavetskiy Yuriy yavets...@kpi.ua Hello. Try to use --with-pcap-includes=/path/to/userland/libpcap-1.0.0-ring/pcap --with-pcap-libs=/path/to/lib S?bastien Cramatte wrote: Hello, I've donwloaded, compiled and installed the latest pf_ring patch. Ntop works as expected but unfortunately I'm unable to compile pmacct-0.12.0 : checking whether to disable L2 features... no checking whether to enable IPv6 code... no checking default locations for pcap.h... found in /usr/local/include checking default locations for libpcap... found in /usr/local/lib checking for pcap_dispatch in -lpcap... no configure: error: ERROR: missing pcap library. Refer to: http://www.tcpdump.org/ ... Any ideas of what occurs ? I suspect that I should add somewhre LDFLAGS with -lpfring ... Thank you for your help ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists -- WBR Yavetskiy Yuriy ULTI-RIPE ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists