Re: [clamav-users] Errors compiling ClamAV

2018-05-28 Thread Alan Stern
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

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Errors compiling ClamAV

2018-05-28 Thread CoDDoC
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?

--___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml