# Building Bro and have a couple errors when running configure

**URL:** <https://community.zeek.org/t/building-bro-and-have-a-couple-errors-when-running-configure/3500>\
**Category:** Zeek\
**Created:** [February 25, 2015, 4:56pm UTC](https://community.zeek.org/t/building-bro-and-have-a-couple-errors-when-running-configure/3500 "2015-02-25T16:56:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Faulkner1](https://avatars.discourse-cdn.com/v4/letter/g/aeb1de/32.png) [@Gary\_Faulkner1](https://community.zeek.org/u/Gary_Faulkner1)\
**Post date:** [February 25, 2015, 4:56pm UTC](https://community.zeek.org/t/building-bro-and-have-a-couple-errors-when-running-configure/3500/1 "2015-02-25T16:56:52Z")

</div>

Bro seems to complete the configure step, but I'm seeing a couple 'not found' and 'Failed' messages during when tests are run in the configure step and am wondering if these are errors that can be ignored or if I need to fix them first. This is on RHEL 6.6. I'm using the PF\_RING libpcap, and the system libpcap is not installed.

-- Performing Test ns\_initparse\_works\_none - Failed  
-- Performing Test res\_mkquery\_works\_none - Failed  
-- Looking for htonll - not found  
-- Looking for include file sys/ethernet.h - not found  
-- Looking for include file net/ethertypes.h - not found  
-- Looking for include file os-proto.h - not found  
-- Performing Test HAVE\_READLINE\_HISTORY\_ENTRIES - Failed  
-- Performing Test SIN\_LEN - Failed  
-- Looking for IPPROTO\_IPV4 - not found  
-- Performing Test DO\_SOCK\_DECL - Failed  
-- Performing Test SYSLOG\_INT - Failed  
-- Looking for include file pcap-int.h - not found  
-- Performing Test LIBPCAP\_PCAP\_COMPILE\_NOPCAP\_HAS\_ERROR\_PARAMETER - Failed

I ended up installing readline-devel (no readline.h or history.h) and having to reinstall BIND (missing libresolv.a) at some point to resolve a few other not found issues. I'm not sure why the build script isn't finding pcap-int.h. I've manually added the pfring location of this file to my path and library path, but it doesn't seem to be finding the header file. I don't recall seeing some of these issues in previous builds, so I'm wondering if there are some new dependencies or perhaps if a recent update from RHEL 6.5 to 6.6 resulted in some weird issues.

---

<div class="post-metadata">

**Author:** ![Siwek\_Jon](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Siwek\_Jon](https://community.zeek.org/u/Siwek_Jon)\
**Post date:** [February 25, 2015, 6:04pm UTC](https://community.zeek.org/t/building-bro-and-have-a-couple-errors-when-running-configure/3500/2 "2015-02-25T18:04:51Z")

</div>

Individual tests that fail are usually fine as long as the overall configure/cmake script completes. The reason for these configure-time tests is because Bro has to work on various platforms and with differing versions of some libraries, so it has to check what is actually available to use and adjust accordingly. If the configure step completes, take that to mean “no problems detected so far”.

- Jon

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:42pm UTC](https://community.zeek.org/t/building-bro-and-have-a-couple-errors-when-running-configure/3500/3 "2022-05-06T15:42:29Z")

</div>


