It might be a version compatibility issue.  I also failed to use autogen.sh 
recently when trying on a centos 7 x86 machine. 

Try running

    rm aclocal.m4
    autoupdate

Then retry autogen.sh

Regards,
Micah

-----Original Message-----
From: clamav-users <clamav-users-boun...@lists.clamav.net> On Behalf Of Kevin 
A. McGrail via clamav-users
Sent: Tuesday, September 8, 2020 3:19 PM
To: clamav-users@lists.clamav.net
Cc: Kevin A. McGrail <kmcgr...@pccc.com>
Subject: Re: [clamav-users] [External] Re: [SUSPECTED SPAM] Re: ClamAV 0.103.0 
rc2

On 9/8/2020 6:11 PM, Micah Snyder (micasnyd) via clamav-users wrote:
> If you're interested, we found the cause of the freshclam SysLog issue. The 
> source ended up being an issue with our autotools build system and how we 
> link freshclam.
> If any of you are willing to try this patch, it'd be nice to hear how it 
> goes. In our testing the patch solves the issue.
>
> IMPORTANT:  Because this is a change to autotools, you'll have to test this 
> on a machine with autoconf, automake, m4, libtool, and pkg-config installed 
> and you'll have to run autogen.sh to regenerate the autotools stuff before 
> running the build.

I have autoconf, automake, m4, libtool and pkgconfig.

Patch was clean

[root@talonator clamav-0.103.0-rc2]# patch -p1 <diff.txt patching file 
freshclam/Makefile.am patching file libfreshclam/libfreshclam.map


Autogen errors:

 ./autogen.sh 
Generating autotools files in: /usr/src/clamav-0.103.0-rc2 ...
m4/mmap_private.m4:1: error: m4_defn: undefined macro: _m4_divert_diversion
m4/mmap_private.m4:1: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Error: Failed to generate autojunk!


Any guidance on the autogen issue?

Regards,

KAM


_______________________________________________

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

_______________________________________________

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

Reply via email to