File::Scan::ClamAV with Perl 5.10

pucky

Verified User
Joined
Sep 9, 2006
Messages
794
Does anyone know what you have to do to get File::Scan::ClamAV installed under perl 5.10?

Code:
cpan[1]> install File::Scan::ClamAV
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Fri, 01 Feb 2013 00:17:03 GMT
Running install for module 'File::Scan::ClamAV'
CPAN: Data::Dumper loaded ok (v2.124)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.06)
Checksum for /root/.cpan/sources/authors/id/J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
File-Scan-ClamAV-1.91/
File-Scan-ClamAV-1.91/META.yml
File-Scan-ClamAV-1.91/README
File-Scan-ClamAV-1.91/testfiles/
File-Scan-ClamAV-1.91/testfiles/innocent
File-Scan-ClamAV-1.91/testfiles/clamavtest.gz
File-Scan-ClamAV-1.91/testfiles/clamavtest
File-Scan-ClamAV-1.91/testfiles/clamavtest.zip
File-Scan-ClamAV-1.91/t/
File-Scan-ClamAV-1.91/t/pod.t
File-Scan-ClamAV-1.91/t/01ping.t
File-Scan-ClamAV-1.91/t/04scan.t
File-Scan-ClamAV-1.91/t/05streamscan.t
File-Scan-ClamAV-1.91/t/02reload.t
File-Scan-ClamAV-1.91/t/03quit.t
File-Scan-ClamAV-1.91/t/00basic.t
File-Scan-ClamAV-1.91/t/pod-coverage.t
File-Scan-ClamAV-1.91/t/mkconf.pl
File-Scan-ClamAV-1.91/Makefile.PL
File-Scan-ClamAV-1.91/Changes
File-Scan-ClamAV-1.91/lib/
File-Scan-ClamAV-1.91/lib/File/
File-Scan-ClamAV-1.91/lib/File/Scan/
File-Scan-ClamAV-1.91/lib/File/Scan/ClamAV.pm
File-Scan-ClamAV-1.91/MANIFEST.SKIP
File-Scan-ClamAV-1.91/MANIFEST
CPAN: File::Temp loaded ok (v0.22)

  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]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
  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
Could not read '/root/.cpan/build/File-Scan-ClamAV-1.91-a43DFy/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
 JAMTUR/File-Scan-ClamAV-1.91.tar.gz          : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512

It fails to install, a miserable example of incompatability with Perl 5.10 i assume. Then why deploy a 9.1v when most people are stuck at 5.10 due to their OS. I happen to be running CentOS 6.2 X64 on this VPS but it does not address my problem.

Eeek! I really dont want to upgrade Perl from source.
 
Back
Top