Subject: | File::Scan::ClamAV Installation Fails with Recent Versions of ClamAV |
Date: | Wed, 25 Apr 2007 22:30:06 -0400 |
To: | bug-File-Scan-ClamAV [...] rt.cpan.org |
From: | Bob Brown <bbrown [...] spsu.edu> |
File::Scan::ClamAV 1.8
Perl v5.8.5 built for x86_64-linux-thread-multi
Linux filbert.lan.ehphospitalists.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb
16 17:13:42 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Recent versions of ClamAV (0.90 and perhaps earlier) require Boolean
arguments (true/false or yes/no) in the configuration file.
File::Scan::ClamAV includes and uses an obsolete configuration file with
the keywords but without the Boolean arguments. Installation of
File::Scan::ClamAV fails with these messages:
ERROR: Parse error at line 2: Option Foreground requires boolean argument
ERROR: Can't open/parse the config file clamav.conf
Suggested fix:
Replace these two lines in .../File-Scan-ClamAV-1.8/clamav.conf
Foreground
ScanArchive
with these:
Foreground true
ScanArchive true
Workaround:
sudo perl -MCPAN -e shell
test File::Scan::ClamAV - this will fail but is necessary
to download the module.
look File::Scan::ClamAV
vi clamav.conf - make the changes above
make install
exit
(This bug is submitted in the hope that it will be fixed, but mainly to
get the workaround someplace where searchers might find it. For that
reason, please do not delete the two error messages; they're the most
likely search strings.)