Hello,
On Saturday, February 13, 2021 12:26:45 PM EST Alan Evangelista wrote:
I'm trying to build the user-space part of the Linux Auditing
Framework in
https://github.com/linux-audit/audit-userspace. First, the README tells me
to "see the README-install file" for building instructions and there is no
such file.
All of that needs replacing.
Second, I tried the standard build procedure using autotools:
aclocal; autoconf; automake; ./configure; make
There is an autogen file which should automate the steps to get to the
configure line.
./configure fails with the following error message:
configure: error: zos remote support was requested but the openldap library
was not found
You have to disable-zos-remote to get rid of that.
- Is there any out-of-the-box way to build a *minimal* auditd for
the
x86_64 platform or I'd need to remove non-essential features such as zos
remote support manually (in this case, removing it from configure.ac) ?
A minimal config looks like this:
./configure --sbindir=/sbin --libdir=/usr/lib64 --with-python=no \
--with-python3=no --disable-listener \
--with-libcap-ng=yes --disable-zos-remote \
--enable-systemd
- If there is not, where are the build dependencies documented?
They are stated in the audit.spec file. But for a minimal config would have
these dependencies:
BuildRequires: libcap-ng-devel
BuildRequires: kernel-headers >= 2.6.29
BuildRequires: systemd
-Steve