Date: Sun, 24 Apr 2005 16:03:02 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 75887 for review Message-ID: <200504241603.j3OG32Dj091447@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=75887 Change 75887 by rwatson@rwatson_paprika on 2005/04/24 16:02:29 Build instructions. Note also Darwin problem with a nested include of the older sys/audit.h from sys/proc.h, which can result in build problems due to conflicts with newer bsm/audit.h. Affected files ... .. //depot/projects/trustedbsd/openbsm/README#4 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/README#4 (text+ko) ==== @@ -23,6 +23,29 @@ and minor tweaks, it should build without problems on a broad range of POSIX-like systems. + Building + +OpenBSM is currently built using a series of BSD make files which should +work on both FreeBSD and Darwin. One known issue is that versions of +Darwin prior to 10.3.8 have a nested include of "sys/audit.h" from +"sys/proc.h", which can result in type definition conflicts. If running +with include files from an earlier version of Darwin, the nested include +must be manually removed in order that libbsm can be built, due to +potentially conflicting types resulting from an include of "sys/sysctl.h" +by that file. On Dariwn, the use of BSD make must be specified explicitly +by using "bsdmake" rather than "make", which on Darwin refers to GNU make. +Typical invocations from the OpenBSM tree root: + +FreeBSD + + % make + # make install + +Darwin + + % bsdmake + # bsdmake install + Credits The following organizations and individuals have contributed substantially
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504241603.j3OG32Dj091447>