Error in ./configure process in fresh Bro 2.1 GIT with requirements in order ( I think)

Dear Bro Forum and developers,

I’m running a physical server with FreeBSD. Here is my output from command “uname –a”:

FreeBSD bigbro 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012

I cloned Bro today from GIT repository : git://git.bro-ids.org/bro.git (twice, same results)

I have the following software installed (from pkg_info command) :

autoconf-2.69 Automatically configure source code on many Un*x platforms

autoconf-wrapper-20101119 Wrapper script for GNU autoconf

automake-1.12.6 GNU Standards-compliant Makefile generator

automake-wrapper-20101119 Wrapper script for GNU automake

bash-4.2.42 The GNU Project’s Bourne Again SHell

bison-2.5.1,1 A parser generator from FSF, (mostly) compatible with Yacc

ca_root_nss-3.14.1 The root certificate bundle from the Mozilla Project

cmake-2.8.9 A cross-platform Makefile generator

cmake-modules-2.8.9 Modules and Templates for CMake

curl-7.24.0_1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)

cvsps-2.1_1 Create patchset information from CVS

db41-4.1.25_4 The Berkeley DB package, revision 4.1

expat-2.0.1_2 XML 1.0 parser written in C

flex-2.5.37 Fast lexical analyzer generator

gettext-0.18.1.1 GNU gettext package

git-1.8.1.1 Distributed source code management tool

gmake-3.82_1 GNU version of ‘make’ utility

help2man-1.40.13 Automatically generating simple manual pages from program o

libbind-6.0_1 Standard C resolver library

libiconv-1.14 A character set conversion library

libpcap-1.3.0 Ubiquitous network traffic capture library

libtool-2.4.2 Generic shared library support script

libzip-0.10.1 C library for reading, creating, and modifying ZIP archives

m4-1.4.16_1,1 GNU m4

makedepend-1.0.3,1 A dependency generator for makefiles

openssl-1.0.1_4 SSL and crypto library

p5-Error-0.17019 Perl module to provide Error/exception support for perl: Er

p5-File-LibMagic-0.96 Nice wrapper for libmagic

p5-IO-Socket-IP-0.18 A drop-in replacement for IO::Socket::INET supporting IPv4

p5-IO-Socket-SSL-1.81 Perl5 interface to SSL sockets

p5-Locale-gettext-1.05_3 Message handling functions

p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL

p5-Net-SSLeay-1.52 Perl5 interface to SSL

p5-Socket-2.007 Networking constants and support functions

pcre-8.32 Perl Compatible Regular Expressions library

perl-5.14.2_2 Practical Extraction and Report Language

pkgconf-0.8.9 Utility to help to configure compiler and linker flags

portupgrade-2.4.10.4,2 FreeBSD ports/packages administration and management tool s

python27-2.7.3_6 An interpreted object-oriented programming language

ruby-1.8.7.371,1 An object-oriented interpreted scripting language

ruby18-bdb-0.6.6 Ruby interface to Sleepycat’s Berkeley DB revision 2 or lat

swig-2.0.8_1 Generate wrappers for calling C/C++ code from other languag

xproto-7.0.22 X11 protocol headers

When I try to run the ./configure command – I get the following non explaining output (at least for me):

[Thu Jan 24 23:10:11 root@bigbro:~/bro/bro ] # ./configure

Build Directory : build

Source Directory: /root/bro/bro

– The C compiler identification is GNU 4.2.1

– The CXX compiler identification is GNU 4.2.1

– Check for working C compiler: /usr/bin/gcc

– Check for working C compiler: /usr/bin/gcc – works

– Detecting C compiler ABI info

– Detecting C compiler ABI info - done

– Check for working CXX compiler: /usr/bin/c++

– Check for working CXX compiler: /usr/bin/c++ – works

– Detecting CXX compiler ABI info

– Detecting CXX compiler ABI info - done

CMake Error at CMakeLists.txt:3 (include):

include could not find load file:

cmake/CommonCMakeConfig.cmake

CMake Error at CMakeLists.txt:38 (include):

include could not find load file:

FindRequiredPackage

– Found sed: /usr/bin/sed

CMake Error at CMakeLists.txt:50 (FindRequiredPackage):

Unknown CMake command “FindRequiredPackage”.

– Configuring incomplete, errors occurred!

Thank You – and sorry for the long email J

Best Regards,

Roger Larsen

/Writing about Bro in my master thesis/

Hello Roger,

I think you forgot to add --recursive while cloning the git repository.

Clone the repository using git clone --recursive git://git.bro-ids.org/bro
and try again :slight_smile:

Johanna

Alternately, cd into the repository and run:
git submodule update --init --recursive

.Seth