[clamav-users] Errors compiling ClamAV

Alan Stern stern at rowland.harvard.edu
Mon May 28 12:20:28 EDT 2018


On Mon, 28 May 2018, CoDDoC wrote:

> Hi to all!
> 
> 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?

In CentOS 7, /usr/include/sys/fanotify.h is part of the glibc-headers 
package, and presumably the same is true in CentOS 6.  You need to 
install that package.

Alan Stern




More information about the clamav-users mailing list