[clamav-users] Errors compiling ClamAV

Reindl Harald h.reindl at thelounge.net
Mon May 28 11:07:03 EDT 2018



Am 28.05.2018 um 16:53 schrieb CoDDoC
> I try compile ClamAV 0.100.0 under CentOS 6.9 (kernel 4.16.11 x86_64)
> After './configure --enable-milter' I got:
> 
>     fanotify    : no (disabled)
> and
>     llvm        : no (disabled)
> 
> But:
>     yum list installed | grep llvm
>     llvm.x86_64                          3.4.2-4.el6
>     llvm-libs.x86_64                     3.4.2-4.el6
>     mesa-private-llvm.x86_64             3.6.2-1.el6
> 
>     cat /boot/config-4.16.11 | grep FANOTIFY
>     CONFIG_FANOTIFY=y
>     CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
> 
> In config.log:
>     conftest.c:165:26: error: sys/fanotify.h: No such file or directory
> 
> What I doing wrong?

not installing all needed devel-packages, building software from source
is why they exist - proper software building hence is using rpmbuild and
spec-files which define BuildRequires

[harry at rh:~]$ rpm -q --file /usr/include/linux/fanotify.h
kernel-headers-4.16.12-200.fc27.x86_64

[harry at rh:~]$ rpm -q --file /usr/include/sys/fanotify.h
glibc-headers-2.26-28.fc27.x86_64



More information about the clamav-users mailing list