PERFORCE change 75887 for review
Robert Watson
rwatson at FreeBSD.org
Sun Apr 24 16:03:02 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=75887
Change 75887 by rwatson at 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
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list