mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Adding "install-aux" target + updating bro-aux submodule.
And INSTALL file updates + format tweaks.
This commit is contained in:
parent
b813f0498f
commit
5288e7a7c9
3 changed files with 23 additions and 18 deletions
36
INSTALL
36
INSTALL
|
@ -59,30 +59,31 @@ installation time:
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
To build and install into /usr/local/bro:
|
To build and install into ``/usr/local/bro``::
|
||||||
|
|
||||||
> ./configure
|
> ./configure
|
||||||
> make
|
> make
|
||||||
> make install
|
> make install
|
||||||
|
|
||||||
This will perform an out-of-source build into a directory called
|
This will perform an out-of-source build into a directory called
|
||||||
build/, using default build options. It then installs the Bro binary
|
``build/``, using default build options. It then installs the Bro binary
|
||||||
into /usr/local/bro/bin. Depending on the Bro package you
|
into ``/usr/local/bro/bin``. Depending on the Bro package you
|
||||||
downloaded, there may be auxiliary tools and libraries available in
|
downloaded, there may be auxiliary tools and libraries available in the
|
||||||
the aux/ directory. If so, they will be installed by default as well
|
``aux/`` directory. All of them except for ``aux/bro-aux`` will also be
|
||||||
if not explicitly disabled via configure options and may also have
|
built and installed by doing ``make install``. To install the programs
|
||||||
additional installation/configuration instructions that you can
|
that come in the ``aux/bro-aux`` directory, additionally use ``make
|
||||||
find in their source directories.
|
install-aux``. There are ``--disable`` options that can be given to the
|
||||||
|
configure script to turn off unwanted auxiliary projects.
|
||||||
|
|
||||||
You can specify a different installation directory with
|
You can specify a different installation directory with::
|
||||||
|
|
||||||
> ./configure --prefix=<dir>
|
> ./configure --prefix=<dir>
|
||||||
|
|
||||||
Note that "/usr" and "/opt/bro" are standard prefixes for binary
|
Note that ``/usr`` and ``/opt/bro`` are standard prefixes for binary
|
||||||
packages to be installed, so those are typically not good choices
|
packages to be installed, so those are typically not good choices
|
||||||
unless you are creating such a package.
|
unless you are creating such a package.
|
||||||
|
|
||||||
Run "./configure --help" for more options.
|
Run ``./configure --help`` for more options.
|
||||||
|
|
||||||
Running Bro
|
Running Bro
|
||||||
===========
|
===========
|
||||||
|
@ -93,12 +94,13 @@ available here:
|
||||||
|
|
||||||
http://www.bro-ids.org/documentation/quickstart.html
|
http://www.bro-ids.org/documentation/quickstart.html
|
||||||
|
|
||||||
For developers that wish to run Bro from the the build/ directory
|
For developers that wish to run Bro from the the ``build/`` directory
|
||||||
after performing "make", but without performing "make install", they
|
after performing ``make``, but without performing ``make install``, they
|
||||||
will have to first set BROPATH to look for scripts inside the build
|
will have to first set ``BROPATH`` to look for scripts inside the build
|
||||||
directory. Sourcing either build/bro-path-dev.sh or build/bro-path-dev.csh
|
directory. Sourcing either ``build/bro-path-dev.sh`` or
|
||||||
as appropriate for the current shell accomplishes this and also augments your
|
``build/bro-path-dev.csh`` as appropriate for the current shell
|
||||||
PATH so you can use Bro without qualifying the path to it. e.g.:
|
accomplishes this and also augments your ``PATH`` so you can use Bro
|
||||||
|
without qualifying the path to it. e.g.::
|
||||||
|
|
||||||
> ./configure
|
> ./configure
|
||||||
> make
|
> make
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -13,6 +13,9 @@ all: configured
|
||||||
install: configured
|
install: configured
|
||||||
( cd $(BUILD) && make install )
|
( cd $(BUILD) && make install )
|
||||||
|
|
||||||
|
install-aux: configured
|
||||||
|
( cd $(BUILD) && make install-aux )
|
||||||
|
|
||||||
clean: configured docclean
|
clean: configured docclean
|
||||||
( cd $(BUILD) && make clean )
|
( cd $(BUILD) && make clean )
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c1ff52a963e6ecdba940738d870248b0202c63fb
|
Subproject commit 531d428255652cce7d7255ec007dd2ade25e52a9
|
Loading…
Add table
Add a link
Reference in a new issue