Tuesday, December 25, 2007

 

BackupPC Can't find Compress::Zlib

Automatic updates had not been applied for a while on my desktop machine due to package incompatibilities. (Why isn't this listed in the Logwatch email?) After manually installing most of them, BackupPC started failing with the subject error. Tried advice to install these Perl packages:

This didn't work.

Tried yum install perl-Compress-Bzip2 and setting $Conf{CompressLevel} = 0; (no compression) in /etc/BackupPC/config.pl. It worked, but since I broke the rule of testing one variable at a time, I didn't know which one fixed the error. So I put the compress level back to three and retarted backuppc. It failed.

Comments:
I fixed this by forcing a reinstall of Scalar::Util

cpan

then

install Scalar::Util

If it says it is already up to date, then do:

force install Scalar::Util
 
I've been running BackupPC with compression turned off to fix this. I'd love to try Mr.Anonymous' suggestion, however Hoover's down. Either a motherboard or CPU issue--it won't run for more than a few minutes without a panic. Even memtest fails with an unxpected general protection interrupt. A replacement is on its way. Will post when it's back up (no pun intended) ;-)
 
Since this post, Hoover has been retired (it’s toast) and a new machine has been installed with Fedora 8. The good news is the compression issue was resolved by the new install. The bad news is I never got to see if Mr. Anonymous’ suggestion would have fixed it.
 
I've had a simular trouble.
Program said that Compress::Zlib isn't found, but it was in system.

I've found that Compress:Zlib depends on other libs, just look into Zlib.pm:


use AutoLoader;
use Carp ;
use IO::Handle ;
use Scalar::Util qw(dualvar);

use IO::Compress::Base::Common 2.008 ;
use Compress::Raw::Zlib 2.008 ;
use IO::Compress::Gzip 2.008 ;
use IO::Uncompress::Gunzip 2.008 ;

After I had installed all this stuff, everything gone ok.

(You should check that all these files are realy on their places - sometimes installed packages put their files into some strange places like /usr/lib/perl5/5.8.8/i486-blablalinuxblablalbla instead of /usr/lib/perl5/5.8.8/
 
I've had a simular trouble.
Program said that Compress::Zlib isn't found, but it was in system.

I've found that Compress:Zlib depends on other libs, just look into Zlib.pm:


use AutoLoader;
use Carp ;
use IO::Handle ;
use Scalar::Util qw(dualvar);

use IO::Compress::Base::Common 2.008 ;
use Compress::Raw::Zlib 2.008 ;
use IO::Compress::Gzip 2.008 ;
use IO::Uncompress::Gunzip 2.008 ;

After I had installed all this stuff, everything gone ok.

(You should check that all these files are realy on their places - sometimes installed packages put their files into some strange places like /usr/lib/perl5/5.8.8/i486-blablalinuxblablalbla instead of /usr/lib/perl5/5.8.8/
 
I've had a simular trouble.
Program said that Compress::Zlib isn't found, but it was in system.

I've found that Compress:Zlib depends on other libs, just look into Zlib.pm:


use AutoLoader;
use Carp ;
use IO::Handle ;
use Scalar::Util qw(dualvar);

use IO::Compress::Base::Common 2.008 ;
use Compress::Raw::Zlib 2.008 ;
use IO::Compress::Gzip 2.008 ;
use IO::Uncompress::Gunzip 2.008 ;

After I had installed all this stuff, everything gone ok.

(You should check that all these files are realy on their places - sometimes installed packages put their files into some strange places like /usr/lib/perl5/5.8.8/i486-blablalinuxblablalbla instead of /usr/lib/perl5/5.8.8/
 
Post a Comment



Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]

BlogPhiles webring:  Previous Site | Random Site | Next | Membership Guide | Site List