did you install gcc and autotools ?
also clamav is in the centos epel repo
-- install epel then
yum install clamav
but if you are intent on building the source
yum groupinstall " Development Tools"
then make a new NON ROOT user called " clamav " ( without the "") first
and DO NOT make a home folder for it
also NEVER run "./configure" as ROOT
that WILL cause problems !!!
as a normal non-root
user run ./configure and make
then become root in the terminal session and run "make install"