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. Some components are built only if appropriate kernel audit 6suppport is found. Typical builds will be performed using: 7 8 ./configure 9 make 10 11If doing development work on OpenBSM with gcc, the following invocation of 12configure may be preferred in order to generate full compiler warnings and 13force the compile to fail if a warning is found: 14 15 CFLAGS="-Wall -Werror" ./configure 16 17To install the library, binaries, and man pages, use: 18 19 make install 20 21The OpenBSM install will not install files in /etc; these have to be 22manually installed or merged. Currently, the locations of these files are 23not configurable. 24 25You may wish to specify that the OpenBSM components not be installed in the 26base system, rather in a specific directory. This may be done using the 27--prefix argument to configure. If installing to a specific directory, 28remember to update your library path so that running tools from that 29directory 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 35