blob: 4ff979263f71dbec8ffa14161ac15799fdf9c411 [file] [log] [blame]
Stephen Smalley4ef938a2015-02-03 11:15:24 -05001Build dependencies on Fedora:
2yum install bison flex swig flex-static flex-devel pcre-devel bzip2-devel ustr-devel audit-libs-devel libcap-ng-devel
3
Stephen Smalley674e0682013-10-30 12:51:19 -04004To build and install everything under a private directory, run:
5make DESTDIR=~/obj install install-pywrap
Stephen Smalley0ddd5342013-10-28 13:34:47 -04006
7To install as the default system libraries and binaries
Stephen Smalley674e0682013-10-30 12:51:19 -04008(overwriting any previously installed ones - dangerous!),
9on x86_64, run:
Stephen Smalley0ddd5342013-10-28 13:34:47 -040010make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel
Stephen Smalley674e0682013-10-30 12:51:19 -040011or on x86 (32-bit), run:
12make install install-pywrap relabel
Stephen Smalley0ddd5342013-10-28 13:34:47 -040013
14This may render your system unusable if the upstream SELinux userspace
15lacks library functions or other dependencies relied upon by your
16distribution. If it breaks, you get to keep both pieces.