[Bro] Logging plugin won't configure

Daniel Thayer dnthayer at illinois.edu
Mon Jun 29 09:41:19 PDT 2015


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



On 06/29/2015 11:21 AM, Aaron Gee-Clough wrote:
>
> All,
>
> 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
> --bro-dist=/home/g-clef/Downloads/bro-2.4/
> 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):
>    string sub-command REGEX, mode REPLACE failed to compile regex
>    "/home/g-clef/workspace/Bro/C++/KafkaLogger/build/src/".
> Call Stack (most recent call first):
>    /home/g-clef/Downloads/bro-2.4/cmake/BroPluginDynamic.cmake:112
> (bif_target)
>    /home/g-clef/Downloads/bro-2.4/cmake/BroPluginCommon.cmake:69
> (bro_plugin_bif_dynamic)
>    CMakeLists.txt:10 (bro_plugin_bif)
>
>
> -- Configuring incomplete, errors occurred!
> See also
> "/home/g-clef/workspace/Bro/C++/KafkaLogger/build/CMakeFiles/CMakeOutput.log".
>
> 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?
>
> Thanks.
>
> aaron


More information about the Bro mailing list