How to resolve these errors and install ClamAV for Perl under Ubuntu/Debian?

Posted by Alex R on Server Fault See other posts from Server Fault or by Alex R
Published on 2010-02-20T17:36:17Z Indexed on 2010/03/26 6:03 UTC
Read the original article Hit count: 420

Filed under:
|
|
|
|

After successful

apt-get install clamav

I then did:

perl -MCPAN -e shell
install File::Scan::ClamAV 

and got

  CPAN.pm: Going to build J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz

Cannot find clamd in /root/bin (or a number of other places)
 - are you sure clamav in installed?
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
  JAMTUR/File-Scan-ClamAV-1.91.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Failed during this command:
 JAMTUR/File-Scan-ClamAV-1.91.tar.gz          : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512

What did I do wrong?

© Server Fault or respective owner

Related posts about perl

Related posts about debian