INSTALL revision 187214
1OpenBSM Build and Installation Instructions
2
3OpenBSM is currently built using autoconf and automake, which should allow
4for building on a range of operating systems, including FreeBSD, Mac OS X,
5and Linux.  Depending on the availability of audit facilities in the
6underlying operating system, some components that depend on kernel audit
7support are built conditionally.  Typically, build will be performed using:
8
9    ./configure
10    make
11
12If doing development work on OpenBSM with gcc, the following invocation of
13configure may be preferred in order to generate full compiler warnings and
14force the compile to fail if a warning is found:
15
16    CFLAGS="-Wall -Werror" ./configure
17
18To install, use:
19
20    make install
21
22You may wish to specify that the OpenBSM components not be installed in the
23base system, rather in a specific directory.  This may be done using the
24--prefix argument to configure.  If installing to a specific directory,
25remember to update your library path so that running tools from that
26directory the correct libbsm is used:
27
28    ./configure --prefix=/home/rwatson/openbsm
29    make
30    make install
31    LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH
32
33You will need to manually propagate openbsm/etc/* into /etc/security on your
34system; this is not done automatically so as to avoid disrupting the current
35configuration.  Currently, the locations of these files is not configurable.
36