INSTALL revision 272461
1169689SkanOpenBSM Build and Installation Instructions 2169689Skan 3169689SkanOpenBSM is currently built using autoconf and automake, which should allow 4169689Skanfor building on a range of operating systems, including FreeBSD, Mac OS X, 5169689Skanand Linux. Some components are built only if appropriate kernel audit 6169689Skansuppport is found. Typical builds will be performed using: 7169689Skan 8169689Skan ./configure 9169689Skan make 10169689Skan 11169689SkanIf doing development work on OpenBSM with gcc, the following invocation of 12169689Skanconfigure is preferred in order to generate full compiler warnings and force 13169689Skanthe compile to fail if a warning is found: 14169689Skan 15169689Skan CFLAGS="-Wall -Werror" ./configure 16169689Skan 17169689SkanOn Linux systems, OpenSSL headers may have to be installed to support 18169689Skanencryption of on-the-wire audit streams using auditdistd; the following 19169689Skanappears to work on Ubuntu: 20169689Skan 21169689Skan sudo apt-get install libssl-dev 22169689Skan 23169689SkanTo install the library, binaries, and man pages, use: 24169689Skan 25169689Skan make install 26169689Skan 27169689SkanThe OpenBSM install will not install files in /etc; these have to be 28169689Skanmanually installed or merged. Currently, the locations of these files are 29169689Skannot configurable. 30169689Skan 31169689SkanYou may wish to specify that the OpenBSM components not be installed in the 32169689Skanbase system, rather in a specific directory. This may be done using the 33169689Skan--prefix argument to configure. If installing to a specific directory, 34169689Skanremember to update your library path so that running tools from that 35169689Skandirectory the correct libbsm is used: 36169689Skan 37169689Skan ./configure --prefix=/home/rwatson/openbsm 38169689Skan make 39169689Skan make install 40169689Skan LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH 41169689Skan