Re: [Bro-Dev] [Bro-Commits] [git/bro] topic/dnthayer/doc-changes-for-2.2: Update FreeBSD install instructions (72129ae)

2013-10-16 Thread Robin Sommer

On Mon, Oct 14, 2013 at 15:28 -0700, you wrote:

 Added perl to list of packages to install (it's not installed by default).

What do we require Perl for?

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * ro...@icir.org
ICSI/LBNL* Fax   +1 (510) 666-2956 * www.icir.org/robin
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] [Bro-Commits] [git/bro] topic/dnthayer/doc-changes-for-2.2: Update FreeBSD install instructions (72129ae)

2013-10-16 Thread Daniel Thayer
On 10/16/2013 11:33 AM, Robin Sommer wrote:

 On Mon, Oct 14, 2013 at 15:28 -0700, you wrote:

  Added perl to list of packages to install (it's not installed by 
 default).

 What do we require Perl for?

 Robin


As a test, after doing ./configure I removed /usr/bin/perl,
and here's how the build failed:

[ 66%] [BISON][Parser] Building parser with bison 2.5
[ 66%] [BISON][RuleParser] Building parser with bison 2.5
[ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rup.cc
[ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rup.h
[ 66%] [BISON][REParser] Building parser with bison 2.5
[ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rep.cc
[ 66%] [sed] replacing stuff in /home/repo/bro/build/src/p.cc
[ 66%] [FLEX][RuleScanner] Building scanner with flex 2.5.35
[ 66%] [FLEX][REScanner] Building scanner with flex 2.5.35
[ 67%] [FLEX][Scanner] Building scanner with flex 2.5.35
[ 67%] [Perl] Processing debug commands
/bin/sh: 1: /usr/bin/perl: not found
make[3]: *** [src/DebugCmdConstants.h] Error 127
make[3]: Leaving directory `/home/repo/bro/build'
make[2]: *** [src/CMakeFiles/bro.dir/all] Error 2
make[2]: Leaving directory `/home/repo/bro/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/repo/bro/build'
make: *** [all] Error 2


___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] [Bro-Commits] [git/bro] topic/dnthayer/doc-changes-for-2.2: Update FreeBSD install instructions (72129ae)

2013-10-16 Thread Robin Sommer


On Wed, Oct 16, 2013 at 11:59 -0500, you wrote:

 [ 67%] [Perl] Processing debug commands
 /bin/sh: 1: /usr/bin/perl: not found

Doh! That's unfortunate that a little script like that makes us depend
on Perl. Todo item for 2.3: replace with a Python or awk script.

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * ro...@icir.org
ICSI/LBNL* Fax   +1 (510) 666-2956 * www.icir.org/robin
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] [Bro-Commits] [git/bro] topic/dnthayer/doc-changes-for-2.2: Update FreeBSD install instructions (72129ae)

2013-10-16 Thread Daniel Thayer
On 10/16/2013 11:59 AM, Daniel Thayer wrote:
 On 10/16/2013 11:33 AM, Robin Sommer wrote:

 On Mon, Oct 14, 2013 at 15:28 -0700, you wrote:

  Added perl to list of packages to install (it's not installed by
 default).

 What do we require Perl for?

 Robin


 As a test, after doing ./configure I removed /usr/bin/perl,
 and here's how the build failed:

 [ 66%] [BISON][Parser] Building parser with bison 2.5
 [ 66%] [BISON][RuleParser] Building parser with bison 2.5
 [ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rup.cc
 [ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rup.h
 [ 66%] [BISON][REParser] Building parser with bison 2.5
 [ 66%] [sed] replacing stuff in /home/repo/bro/build/src/rep.cc
 [ 66%] [sed] replacing stuff in /home/repo/bro/build/src/p.cc
 [ 66%] [FLEX][RuleScanner] Building scanner with flex 2.5.35
 [ 66%] [FLEX][REScanner] Building scanner with flex 2.5.35
 [ 67%] [FLEX][Scanner] Building scanner with flex 2.5.35
 [ 67%] [Perl] Processing debug commands
 /bin/sh: 1: /usr/bin/perl: not found
 make[3]: *** [src/DebugCmdConstants.h] Error 127
 make[3]: Leaving directory `/home/repo/bro/build'
 make[2]: *** [src/CMakeFiles/bro.dir/all] Error 2
 make[2]: Leaving directory `/home/repo/bro/build'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/repo/bro/build'
 make: *** [all] Error 2



Looks like the culprit is bro/src/make_dbg_constants.pl

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] [Bro-Commits] [git/bro] topic/dnthayer/doc-changes-for-2.2: Update FreeBSD install instructions (72129ae)

2013-10-16 Thread Siwek, Jonathan Luke
 Doh! That's unfortunate that a little script like that makes us depend
 on Perl. Todo item for 2.3: replace with a Python or awk script.

MIght be a way to do it in pure CMake scripting, but haven't looked closely.

- Jon

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev