Hi

What version of GCC is installed on the server you are seeing this problem ?

Regards Paul

On 12/10/2023 13:40, Nikos Gatsis via clamav-users wrote:
NG> Hello list.

NG>  I am try to install from source 0.103.10 on some mailservers, most of them have NG>  Centos 7 last version and one with Centos 6. When I run make (after ./configure
NG>  --sysconfdir=/etc --enable-milter) and I get many errors like:

NG>  cc1plus: warning: unrecognized command line option "-Wno-dangling-else" [enabled
NG>  by default]
NG>  cc1plus: warning: unrecognized command line option "-Wno-logical-op-parentheses"
NG>  [enabled by default]
NG>  make[4]: *** [../libclamunrar/libclamunrar_la-archive.lo] Error 1
NG>  make[4]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[3]: *** [all-recursive] Error 1
NG>  make[3]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[2]: *** [all] Error 2
NG>  make[2]: Leaving directory `/home/qbit/clamav-0.103.10/libclamav'
NG>  make[1]: *** [all-recursive] Error 1
NG>  make[1]: Leaving directory `/home/qbit/clamav-0.103.10'
NG>  make: *** [all] Error 2

NG>  All servers have already 0.103.8 and I had never problem installing before.

Build with -DENABLR_UNRAR=OFF option.

Regards.

I run:

./configure --sysconfdir=/etc --enable-milter --disable-unrar

and my problem solved.

Thank you for your help.

Nikos
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to