Re: [clamav-users] Errors compiling ClamAV
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@rh:~]$ rpm -q --file /usr/include/linux/fanotify.h kernel-headers-4.16.12-200.fc27.x86_64 [harry@rh:~]$ rpm -q --file /usr/include/sys/fanotify.h glibc-headers-2.26-28.fc27.x86_64 ___ 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
Re: [clamav-users] Errors compiling ClamAV
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
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