1 Please submit all bug reports and patches to selinux (a] tycho.nsa.gov. 2 Subscribe via selinux-join (a] tycho.nsa.gov. 3 4 Build dependencies on Fedora: 5 yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig xmlto redhat-rpm-config 6 7 To build and install everything under a private directory, run: 8 make DESTDIR=~/obj install install-pywrap 9 10 To install as the default system libraries and binaries 11 (overwriting any previously installed ones - dangerous!), 12 on x86_64, run: 13 make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel 14 or on x86 (32-bit), run: 15 make install install-pywrap relabel 16 17 This may render your system unusable if the upstream SELinux userspace 18 lacks library functions or other dependencies relied upon by your 19 distribution. If it breaks, you get to keep both pieces. 20 21 To install libsepol on macOS (mainly for policy analysis): 22 cd libsepol; make DESTDIR=/usr/local PREFIX=/usr/local install 23 24 This requires GNU coreutils (brew install coreutils). 25