[Bro-Dev] [JIRA] (BIT-1516) openbsd build issues

Justin Azoff (JIRA) jira at bro-tracker.atlassian.net
Tue Dec 29 09:23:00 PST 2015

Justin Azoff created BIT-1516:

             Summary: openbsd build issues
                 Key: BIT-1516
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1516
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.4
         Environment: OpenBSD
            Reporter: Justin Azoff
            Priority: Low

Someone on IRC asked about bro on openbsd issues.  I took a look and here is what I have found so far.  There are 3 issues:

bro needs the libbind port installed to build, but cmake has trouble finding it

Changing FindBIND.cmake lets configure works:

-            HINTS ${BIND_ROOT_DIR}/lib
+            HINTS ${BIND_ROOT_DIR}/lib/libbind

This probably needs to be 
    HINTS ${BIND_ROOT_DIR}/lib ${BIND_ROOT_DIR}/lib/libbind

or such to not break other platforms

The second is that {code}pcap_offline_filter{code} does not exist in the version of pcap it has (though I did my testing on openbsd 5.5 so the latest (5.8) may be different)

Finally, openbsd does not have {code}wordexp{code} so src/broxygen/Manager.cc does not build. I ifdef'd it out most of {code}Manager::Manager{code} and bro built ok after that.  I'm not sure what it is doing there anyway..

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list