Logging plugin won't configure


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@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?



Try renaming the "C++" directory to something else (such as

That was it. Thank you. Now it doesn't make, but that's clearly my problem.

Thanks again.