[Bro-Dev] fatal error: can't find base/init-bare.bro

Alberto Garcia agarciaillera at gmail.com
Thu Jan 19 14:32:09 PST 2017


I've tried running:

set exec-wrapper bash -c 'source /home/default/bro/build/bro-path-dev.sh'

within GDB but it didn't work either.

On Thu, Jan 19, 2017 at 4:01 PM, Alberto Garcia <agarciaillera at gmail.com>
wrote:

> It actually works if i'm in a shell but not if I'm debugging it with dbg.
> It still shows the same error when executing main.cc:759 -->
> add_input_file("base/init-bare.bro");
>
> Is there anything I need to execute from within dbg to set the environment
> variables while using gdb?
>
> Thank you again
>
> On Thu, Jan 19, 2017 at 3:01 PM, Alberto Garcia <agarciaillera at gmail.com>
> wrote:
>
>> Easy one!
>>
>> thanks!
>>
>> On Thu, Jan 19, 2017 at 2:46 PM, Johanna Amann <johanna at icir.org> wrote:
>>
>>> On Thu, Jan 19, 2017 at 11:19:20AM -0600, Alberto Garcia wrote:
>>> > Hi,
>>> >
>>> > I've compiled bro from source to do some debugging. Once compiled I
>>> can't
>>> > run bro since there is an error popping up:
>>> >
>>> > default at debian:~/bro$ ./build/src/bro
>>> > fatal error: can't find base/init-bare.bro
>>> >
>>> > If I do the make install and then call bro from /usr/local/bro/bin/bro
>>> it
>>> > works fine.
>>> >
>>> > What I should do to execute bro from the build directory?
>>>
>>> source build/bro-path-dev.sh
>>>
>>> should set all required environment variables.
>>>
>>> Johanna
>>>
>>
>>
>>
>> --
>> Alberto García Illera
>>
>> GPG Public Key: https://goo.gl/twKUUv
>>
>
>
>
> --
> Alberto García Illera
>
> GPG Public Key: https://goo.gl/twKUUv
>



-- 
Alberto García Illera

GPG Public Key: https://goo.gl/twKUUv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20170119/9a87d011/attachment.html 


More information about the bro-dev mailing list