]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/openbsm/INSTALL
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / openbsm / INSTALL
1 OpenBSM Build and Installation Instructions
2
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 suppport is found.  Typical builds will be performed using:
7
8     ./configure
9     make
10
11 If doing development work on OpenBSM with gcc, the following invocation of
12 configure may be preferred in order to generate full compiler warnings and
13 force the compile to fail if a warning is found:
14
15     CFLAGS="-Wall -Werror" ./configure
16
17 To install the library, binaries, and man pages, use:
18
19     make install
20
21 The OpenBSM install will not install files in /etc; these have to be
22 manually installed or merged.  Currently, the locations of these files are
23 not configurable.
24
25 You may wish to specify that the OpenBSM components not be installed in the
26 base system, rather in a specific directory.  This may be done using the
27 --prefix argument to configure.  If installing to a specific directory,
28 remember to update your library path so that running tools from that
29 directory the correct libbsm is used:
30
31     ./configure --prefix=/home/rwatson/openbsm
32     make
33     make install
34     LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH