1 OpenBSM Build and Installation Instructions
3 OpenBSM is currently built using autoconf and automake, which should allow
4 for building on a range of operating systems, including FreeBSD, Mac OS X,
5 and Linux. Some components are built only if appropriate kernel audit
6 support is found. Typical builds will be performed using:
11 If doing development work on OpenBSM with gcc, the following invocation of
12 configure is preferred in order to generate full compiler warnings and force
13 the compile to fail if a warning is found:
15 CFLAGS="-Wall -Werror" ./configure
17 On Linux systems, OpenSSL headers may have to be installed to support
18 encryption of on-the-wire audit streams using auditdistd; the following
19 appears to work on Ubuntu:
21 sudo apt-get install libssl-dev
23 To install the library, binaries, and man pages, use:
27 The OpenBSM install will not install files in /etc; these have to be
28 manually installed or merged. Currently, the locations of these files are
31 You may wish to specify that the OpenBSM components not be installed in the
32 base system, rather in a specific directory. This may be done using the
33 --prefix argument to configure. If installing to a specific directory,
34 remember to update your library path so that when running tools from that
35 directory the correct libbsm is used:
37 ./configure --prefix=/home/rwatson/openbsm
40 LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH