Mailing List Archive

[clamav-users] Unable to compile 0.102.0 with fanotify support
Hello,

I’m trying to compile 0.102.0 on Amazon Linux 2 but the configure script isn’t detecting fanotify support:

fanotify : no (disabled)

I have kernel-devel and glibc-headers installed. I’ve also confirmed fanotify support with "cat /boot/config-<kernel_version> | grep FANOTIFY”.

I get an error from the configure script:

./configure: line 30024: auto=yes: command not found

Here’s the full configure output: https://pastebin.com/0xYqhr2V <https://pastebin.com/0xYqhr2V>.

This was my attempt to fix it but it didn’t work: https://pastebin.com/k2kCrmHP <https://pastebin.com/k2kCrmHP>.

I also tried latest on master and have the same issue.

Thanks,
Arthur
Re: [clamav-users] Unable to compile 0.102.0 with fanotify support [ In reply to ]
On 10/9/19 5:54 PM, Arthur Ramsey via clamav-users wrote:
> Hello,
>
> I’m trying to compile 0.102.0 on Amazon Linux 2 but the configure script
> isn’t detecting fanotify support:
>
> fanotify    : no (disabled)
>
> I have kernel-devel and glibc-headers installed.  I’ve also confirmed
> fanotify support with "cat /boot/config-<kernel_version> | grep FANOTIFY”.
>
> I get an error from the configure script:
>
> ./configure: line 30024: auto=yes: command not found
>
> Here’s the full configure output: https://pastebin.com/0xYqhr2V.
>
> This was my attempt to fix it but it didn’t work:
> https://pastebin.com/k2kCrmHP.
>
> I also tried latest on master and have the same issue.
>
> Thanks,
> Arthur
>
>

you should provide config.log

Regards


--
Gianluigi Tiesi <sherpya@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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] Unable to compile 0.102.0 with fanotify support [ In reply to ]
Re: [clamav-users] Unable to compile 0.102.0 with fanotify support [ In reply to ]
On 10/9/19 6:35 PM, Arthur Ramsey wrote:
> Here is config.log: https://pastebin.com/tq97pMwH

there is bug in the order autotools composes the final configure:
$want_fanotify is never defined yes when configure looks for it.


My suggestion is run configure, then open clamav-config.h and
#define FANOTIFY 1

Regards

--
Gianluigi Tiesi <sherpya@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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] Unable to compile 0.102.0 with fanotify support [ In reply to ]
On 09-10-2019 17:54, Arthur Ramsey via clamav-users wrote:
> Hello,
>
> I’m trying to compile 0.102.0 on Amazon Linux 2 but the configure
> script isn’t detecting fanotify support:
>
> fanotify    : no (disabled)
>
> I have kernel-devel and glibc-headers installed.  I’ve also confirmed
> fanotify support with "cat /boot/config-<kernel_version> | grep FANOTIFY”.
>
> I get an error from the configure script:
>
> ./configure: line 30024: auto=yes: command not found
>
> Here’s the full configure output: https://pastebin.com/0xYqhr2V.
>
> This was my attempt to fix it but it didn’t work:
> https://pastebin.com/k2kCrmHP.
>
> I also tried latest on master and have the same issue.
>
> Thanks,
> Arthur
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

Same as my complaint at October 3. Sofare no response other then making
a bugzilla notion.

--- Frans.
Re: [clamav-users] Unable to compile 0.102.0 with fanotify support [ In reply to ]
This fixes it:

./configure && echo "#define FANOTIFY 1” >> clamav-config.h

Thanks for the help,
Arthur