Hello,
Thanks for a great experience at Bro exchange! I found a minor issue on the bro.org page for time-machine here:
http://bro.org/community/time-machine.html
The documentation states "to checkout TimeMachine's master:"
git clone git://git.bro.org/time-machine
This causes ./configure to fail because the cmake module is not downloaded, and the cmake directory is empty.
Seems like adding "--recursive" corrects the issue.
git clone --recursive git://git.bro.org/time-machine
##################################################
# Failure
##################################################
$ git clone git://git.bro.org/time-machine
Cloning into 'time-machine'...
remote: Counting objects: 415, done.
remote: Compressing objects: 100% (341/341), done.
remote: Total 415 (delta 155), reused 253 (delta 51)
Receiving objects: 100% (415/415), 1.19 MiB | 349 KiB/s, done.
Resolving deltas: 100% (155/155), done.
$ cd time-machine
$ ./configure --with-broccoli=/usr/local/bro
Build Directory : build
Source Directory: /usr/local/src/nsm/timemachine/time-machine
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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:13 (include):
include could not find load file:
FindRequiredPackage
CMake Error at CMakeLists.txt:15 (FindRequiredPackage):
Unknown CMake command "FindRequiredPackage".
-- Configuring incomplete, errors occurred!
##################################################
# Success
##################################################
$ git clone --recursive git://git.bro.org/time-machine
Cloning into 'time-machine'...
remote: Counting objects: 415, done.
remote: Compressing objects: 100% (341/341), done.
remote: Total 415 (delta 155), reused 253 (delta 51)
Receiving objects: 100% (415/415), 1.19 MiB | 574 KiB/s, done.
Resolving deltas: 100% (155/155), done.
Submodule 'cmake' (git://git.bro-ids.org/cmake) registered for path 'cmake'
Cloning into 'cmake'...
remote: Counting objects: 271, done.
remote: Compressing objects: 100% (270/270), done.
remote: Total 271 (delta 140), reused 0 (delta 0)
Receiving objects: 100% (271/271), 70.92 KiB, done.
Resolving deltas: 100% (140/140), done.
Submodule path 'cmake': checked out '599c3fa916a8d746a535666955ab4439bea20471'
… [success] …
-Keith