<div dir="ltr">It actually works if i&#39;m in a shell but not if I&#39;m debugging it with dbg. <div>It still shows the same error when executing main.cc:759 --&gt; add_input_file(&quot;base/init-bare.bro&quot;);</div><div><br></div><div>Is there anything I need to execute from within dbg to set the environment variables while using gdb?</div><div><br></div><div>Thank you again</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 3:01 PM, Alberto Garcia <span dir="ltr">&lt;<a href="mailto:agarciaillera@gmail.com" target="_blank">agarciaillera@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Easy one! <div><br></div><div>thanks!</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 2:46 PM, Johanna Amann <span dir="ltr">&lt;<a href="mailto:johanna@icir.org" target="_blank">johanna@icir.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Jan 19, 2017 at 11:19:20AM -0600, Alberto Garcia wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;ve compiled bro from source to do some debugging. Once compiled I can&#39;t<br>
&gt; run bro since there is an error popping up:<br>
&gt;<br>
&gt; default@debian:~/bro$ ./build/src/bro<br>
&gt; fatal error: can&#39;t find base/init-bare.bro<br>
&gt;<br>
&gt; If I do the make install and then call bro from /usr/local/bro/bin/bro it<br>
&gt; works fine.<br>
&gt;<br>
&gt; What I should do to execute bro from the build directory?<br>
<br>
</span>source build/bro-path-dev.sh<br>
<br>
should set all required environment variables.<br>
<span class="m_-1668493607734318137HOEnZb"><font color="#888888"><br>
Johanna<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-1668493607734318137gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Alberto García Illera<div><br><div><div><font size="1">GPG Public Key:</font> <a href="https://goo.gl/twKUUv" style="color:rgb(17,85,204);font-size:x-small" target="_blank">https://goo.gl/twKUUv</a></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Alberto García Illera<div><br><div><div><font size="1">GPG Public Key:</font> <a href="https://goo.gl/twKUUv" style="color:rgb(17,85,204);font-size:x-small" target="_blank">https://goo.gl/twKUUv</a></div></div></div></div></div></div></div></div></div>
</div>