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:

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

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

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
(v7.1.0-OD-02-030#71001)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to