# getting bro 2.5.5 source

**URL:** <https://community.zeek.org/t/getting-bro-2-5-5-source/5499>\
**Category:** Zeek\
**Created:** [October 16, 2018, 8:11pm UTC](https://community.zeek.org/t/getting-bro-2-5-5-source/5499 "2018-10-16T20:11:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_Poore](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@Jeffrey\_Poore](https://community.zeek.org/u/Jeffrey_Poore)\
**Post date:** [October 16, 2018, 8:11pm UTC](https://community.zeek.org/t/getting-bro-2-5-5-source/5499/1 "2018-10-16T20:11:32Z")

</div>

Hello community. I have been building Bro from source, but I realized that I don’t want to be downloading the tip source but rather the 2.5.5 source. I tried grabbing the source from GitHub at [https://github.com/bro/bro/archive/v2.5.5.tar.gz](https://github.com/bro/bro/archive/v2.5.5.tar.gz), but when I do a configure inside this directory, it fails because the cmake directory inside is empty.

I was doing a recursive clone of the git repo:

$ git clone --recursive [https://github.com/bro/bro.git](https://github.com/bro/bro.git)

I noticed that there is a 2.5 release branch, so I checkout that:

$ git checkout release/2.5

But then when I try to run things, it breaks when I run check on the scripts (it’s like the Bro interpreter is 2.5 but the scripts are 2.6?). I even tried doing this, without the recursive clone, but it still didn’t work:

$ git clone [https://github.com/bro/bro.git](https://github.com/bro/bro.git)  
$ git checkout release/2.5  
$ git submodule init  
$ git submodule update  
$ ./configure

Unfortunately, our proxy doesn’t let us get to [bro.org](http://bro.org) currently, so I’m trying to make this work from the github repo. Any ideas?

---

<div class="post-metadata">

**Author:** ![Azoff\_Justin\_S](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Azoff\_Justin\_S](https://community.zeek.org/u/Azoff_Justin_S)\
**Post date:** [October 16, 2018, 8:23pm UTC](https://community.zeek.org/t/getting-bro-2-5-5-source/5499/2 "2018-10-16T20:23:47Z")

</div>

> Hello community. I have been building Bro from source, but I realized that I don't want to be downloading the tip source but rather the 2.5.5 source. I tried grabbing the source from GitHub at [https://github.com/bro/bro/archive/v2.5.5.tar.gz](https://github.com/bro/bro/archive/v2.5.5.tar.gz), but when I do a configure inside this directory, it fails because the cmake directory inside is empty.

The file you are probably looking for is [https://www.bro.org/downloads/bro-2.5.5.tar.gz](https://www.bro.org/downloads/bro-2.5.5.tar.gz)

The auto archives from github unfortunately don't include the submodules.

> I was doing a recursive clone of the git repo:
> 
> $ git clone --recursive [GitHub - bro/bro: Mirror of https://github.com/zeek/zeek](https://github.com/bro/bro.git)
> 
> I noticed that there is a 2.5 release branch, so I checkout that:
> 
> $ git checkout release/2.5
> 
> But then when I try to run things, it breaks when I run check on the scripts (it's like the Bro interpreter is 2.5 but the scripts are 2.6?). I even tried doing this, without the recursive clone, but it still didn't work:
> 
> git clone https://github.com/bro/bro.git git checkout release/2.5  
> git submodule init git submodule update  
> $ ./configure \<fails\>
> 
> Unfortunately, our proxy doesn't let us get to bro.org currently, so I'm trying to make this work from the github repo. Any ideas?

I worked this out a while ago, I think your problem is that updating the submodules only updates the top level, but bro has submodules inside of submodules and you need to do it recursively.

These are the commands I used to use when building an arbitrary bro commit:

&nbsp;&nbsp;&nbsp;&nbsp;git checkout -f $VERSION  
&nbsp;&nbsp;&nbsp;&nbsp;git submodule foreach --recursive git submodule init  
&nbsp;&nbsp;&nbsp;&nbsp;git submodule update --recursive -f || git submodule update --recursive

Also, I believe that if you did

&nbsp;&nbsp;&nbsp;&nbsp;git clone --branch v2.5.5 --recursive [GitHub - bro/bro: Mirror of https://github.com/zeek/zeek](https://github.com/bro/bro.git)

you would end up with the correct checkout as well.

---

<div class="post-metadata">

**Author:** ![Jeffrey\_Poore](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@Jeffrey\_Poore](https://community.zeek.org/u/Jeffrey_Poore)\
**Post date:** [October 16, 2018, 8:37pm UTC](https://community.zeek.org/t/getting-bro-2-5-5-source/5499/3 "2018-10-16T20:37:02Z")

</div>

thank you. that helps a lot! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:46pm UTC](https://community.zeek.org/t/getting-bro-2-5-5-source/5499/4 "2022-05-06T15:46:08Z")

</div>


