[Bro] PF_RING 7.0 and Bro 2.5.3 issue

Carl Rotenan carlrotenan at gmail.com
Mon Apr 16 20:17:38 PDT 2018


Got through configure with prepending LDFLAGS="-lpfring -lpcap"

Example:

LDFLAGS="-lpfring -lpcap" ./configure --enable-perftools --enable-jemalloc
--prefix=/opt/bro --conf-files-dir=/etc/bro --with-pcap=/usr/local/


On Mon, Apr 16, 2018 at 10:22 PM, Carl Rotenan <carlrotenan at gmail.com>
wrote:

> Hello.
>
> I'm trying to install Bro 2.5.3 from source and I'm running into the
> following errors:
>
> ./configure --enable-perftools --enable-jemalloc --prefix=/opt/bro
> --conf-files-dir=/etc/bro --with-pcap=/usr/local/
>
> ...
>
> -- Looking for include file pcap-int.h
> -- Looking for include file pcap-int.h - not found
> -- Looking for pcap_freecode
> -- Looking for pcap_freecode - not found
> -- No implementation for pcap_freecode()
> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER
> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER -
> Failed
> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER
> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER - Failed
> CMake Error at cmake/PCAPTests.cmake:58 (message):
>   Can't determine if pcap_compile_nopcap takes an error parameter
> Call Stack (most recent call first):
>   CMakeLists.txt:164 (include)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/root/tmp/bro-2.5.3/build/CMakeFiles/CMakeOutput.log".
> See also "/root/tmp/bro-2.5.3/build/CMakeFiles/CMakeError.log".
>
> I've attached the above error logs
>
> Miscellaneous info:
>
> find / -name libpcap*
> /usr/lib64/libpcap.so
> /usr/lib64/libpcap.so.1
> /usr/lib64/libpcap.so.1.5.3
> /usr/share/doc/libpcap-1.5.3
> /usr/local/lib/libpcap.so.1
> /usr/local/lib/libpcap.a
> /usr/local/lib/libpcap.so.1.8.1
>
>
> The PF_RING packages installed are:
>
> rpm -qa |grep pfring
> pfring-7.0.0-1846.x86_64
> pfring-dkms-7.0.0-1846.noarch
>
> Anyone have any thoughts?
>
> Thanks,
>
> Carl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20180416/d84c0f74/attachment.html 


More information about the Bro mailing list