2015-02-03 16:15:24 +00:00
|
|
|
Build dependencies on Fedora:
|
|
|
|
yum install bison flex swig flex-static flex-devel pcre-devel bzip2-devel ustr-devel audit-libs-devel libcap-ng-devel
|
|
|
|
|
2013-10-30 16:51:19 +00:00
|
|
|
To build and install everything under a private directory, run:
|
|
|
|
make DESTDIR=~/obj install install-pywrap
|
2013-10-28 17:34:47 +00:00
|
|
|
|
|
|
|
To install as the default system libraries and binaries
|
2013-10-30 16:51:19 +00:00
|
|
|
(overwriting any previously installed ones - dangerous!),
|
|
|
|
on x86_64, run:
|
2013-10-28 17:34:47 +00:00
|
|
|
make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel
|
2013-10-30 16:51:19 +00:00
|
|
|
or on x86 (32-bit), run:
|
|
|
|
make install install-pywrap relabel
|
2013-10-28 17:34:47 +00:00
|
|
|
|
|
|
|
This may render your system unusable if the upstream SELinux userspace
|
|
|
|
lacks library functions or other dependencies relied upon by your
|
|
|
|
distribution. If it breaks, you get to keep both pieces.
|