[Aide] Building aide 0.15 on RHEL 5

Marc Haber mh+aide at zugschlus.de
Tue Aug 14 14:20:53 EEST 2012


Hi,

a colleague of mine is currently trying to compile aide 0.15 on Red
Hat Enterprise Linux 5, which features e2fsprogs 1.39-34. He started
with aide-0.15.1-2.fc17.src.rpm which is presumably from Fedora.

./configure
   --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu
   --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr
   --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
   --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
   --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var
   --sharedstatedir=/usr/com --mandir=/usr/share/man
   --infodir=/usr/share/info --with-config_file=/etc/aide.conf
   --with-zlib --disable-static --without-curl --with-posix-acl
   --with-selinux --with-prelink --with-xattr --with-e2fsattrs --with-audit

The build on RHEL 5 fails with:

compare_db.c:68: error: 'EXT4_EXTENTS_FL' undeclared here (not in a function)
compare_db.c:68: error: 'EXT4_HUGE_FILE_FL' undeclared here (not in a function)
compare_db.c: In function 'get_ignorelist':
compare_db.c:80: warning: comparison between signed and unsigned
compare_db.c: In function 'get_report_attributes':
compare_db.c:91: warning: comparison between signed and unsigned

Is it possible to build aide on RHEL 5 with a changed configure line
without losing functionality that would be available on RHEL 5, or do
I need to patch the source?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


More information about the Aide mailing list