I just tried to compile phplibclamav http://trickie.org/code/phplibclamav.php and am getting the same errors.
One thing I forgot, for both packages I got this error running phpize: aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used _______________________________________________ http://lurker.clamav.net/list/clamav-users.html