Есть OpenVZ виртуалка Centos5 (Final)
НАстроен ропозиторий и компилятор в ней
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/5.11/os/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[(testing) root@mx clamav-0.101.1]# rpm -qa | grep gcc
libgcc-4.1.2-55.el5
gcc-4.1.2-55.el5
gcc-c++-4.1.2-55.el5
./configure для clamav-0.101.1 проходит но на этапе make возникает ошибка
Making all in libclamav
make[2]: Entering directory `/root/clamav-0.101.1/libclamav'
make all-recursive
make[3]: Entering directory `/root/clamav-0.101.1/libclamav'
make[4]: Entering directory `/root/clamav-0.101.1/libclamav'
CXX libclamunrar_la-archive.lo
cc1plus: error: unrecognized command line option "-Wno-logical-op-parentheses"
cc1plus: error: unrecognized command line option "-Wno-dangling-else"
make[4]: *** [libclamunrar_la-archive.lo] Error 1
make[4]: Leaving directory `/root/clamav-0.101.1/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/clamav-0.101.1/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/clamav-0.101.1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clamav-0.101.1'
make: *** [all] Error 2