[Bro] Logging plugin won't configure

Aaron Gee-Clough lists at g-clef.net
Mon Jun 29 09:21:41 PDT 2015


I'm attempting to build a logging plugin, and hitting a bit of a brick
wall. I have what I think is a reasonable framework, based on the
elasticsearch logging plugin, but when I go to configure it, I get :

g-clef at yog-sothoth:~/workspace/Bro/C++/KafkaLogger$ ./configure
Build Directory        : build
Bro Source Directory   : /home/g-clef/Downloads/bro-2.4
-- Bro executable      : /home/g-clef/Downloads/bro-2.4/build/src/bro
-- Bro source          : /home/g-clef/Downloads/bro-2.4
-- Bro build           : /home/g-clef/Downloads/bro-2.4/build
-- Bro install prefix  : /usr/local/bro
-- Bro plugin directory: /usr/local/bro/lib/bro/plugins
-- Bro debug mode      : false
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at /home/g-clef/Downloads/bro-2.4/cmake/BifCl.cmake:113
  string sub-command REGEX, mode REPLACE failed to compile regex
Call Stack (most recent call first):
  CMakeLists.txt:10 (bro_plugin_bif)

-- Configuring incomplete, errors occurred!
See also

This looks like a regex error in the bro code, rather than in my code,
but I'm not sure what that code is trying to do. Any ideas?



More information about the Bro mailing list