off topic a bit. I have the impression distributions are ending for anything 
other than being an os. Over the last view years you can just notice how they 
have problems with maintaining packages. This redhat is just taking source and 
redesigning functionality for their own interests. On the other hand you have 
'dumb' developers that do not even know about LTS versions and just use any 
(unsupported) library they can find.

You have to start thinking about putting things like clamav into containers. I 
am currently using this alpine linux <50MB, this goes well with clamav. Even 
better would be if no container os image was required. 
Redhat/centos is totally unusable for containers because they have 'idiots' 
there creating dependencies on everything, before you know it you have 
installed >200MB of useless packages. 
I think Redhat fixed something for me once, but I am not going to file endless 
bug reports there.


> 
> You need to find a later version of GCC for your servers.
> 
> I had a similar problem with some legacy Ubuntu machines. Fortunately an
> upgrade to GCC 7.5 was available in the Ubuntu release archive.
> 
> The C++ code in libunrar has been uplifted as well as a very nasty bug
> being fixed.
> 
> Paul
> 
> On 13/10/2023 08:42, Nikos Gatsis via clamav-users wrote:
> > Hello,
> >
> > On Centos 7 server:
> > Name        : gcc
> > Arch        : x86_64
> > Version     : 4.8.5
> > Release     : 44.el7
> >
> > On Centos 6 server:
> >
> > Name        : gcc
> > Arch        : x86_64
> > Version     : 4.4.7
> > Release     : 23.el6
> >
> > Regards
> >
> >> 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
_______________________________________________

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