[Bro-Dev] Building bro 2.6 with static broker/caf libraries

Seth Hall seth at corelight.com
Thu Dec 6 05:53:05 PST 2018


Johanna has been working on this recently.  We may end up needing to do 
a minor release update just to fix this because it appears that it's 
going to be a bit of a packaging problem on a number of OSs and distros 
otherwise.

   .Seth

On 5 Dec 2018, at 22:03, Craig Leres wrote:

> I've read up on cmake variable scope but I can't figure out how to 
> build
> bro with static libraries. The bro-bundled caf already has
> CAF_BUILD_STATIC_ONLY which I'm pretty sure works but I'm unable to 
> turn
> it on when building caf as part of a bro build.
>
> For example I'd like is to optionally (i.e. from a -D argument to 
> cmake
> itself) be able to turn on CAF_BUILD_STATIC_ONLY for
> aux/broker/3rdparty/caf/CMakeLists.txt but nothing I've tried in the 
> top
> level CMakeLists.txt is seen when the caf CMakeLists.txt is being 
> evaluated.
>
> (I'm working on updating the FreeBSD port to 2.6 and can't install
> things like libcaf_io.so in /usr/local/lib because they conflict with
> libraries potentially installed by the devel/caf port.)
>
> 		Craig
> _______________________________________________
> bro-dev mailing list
> bro-dev at bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

--
Seth Hall * Corelight, Inc * www.corelight.com


More information about the bro-dev mailing list