Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Compress::Bzip2 (Read 1838 times)
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Compress::Bzip2
Reply #1 - Jul 28th, 2015 at 2:18pm
Print Post  
Great catch. Thanks.  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Compress::Bzip2
Jul 27th, 2015 at 4:35am
Print Post  
After migrating to a new server, the Compress::Bzip2 module was apparently no longer exists. An installation has not been possible. The server refused to accept the module. A search on the server, not shown, however, that the module is available, but where it should be. Newer versions of Perl install the module to a different directory (IO::Compress::Bzip2). 

NOTE from CPAN

Quote:
Compress::Bzip2 is just a simple bzip2 binding, comparable to the old Compress::Zlib library. It is not well integrated into PerlIO, use the preferred IO::Compress::Bzip2 instead.


So you should first determine whether the module is present on the server.

Backup.pm

search

Code
Select All
    my $label_id;
    foreach my $module (qw(Compress::Zlib Compress::Bzip2)) { 

 

change

Code
Select All
    my $label_id;
    foreach my $module (qw(Compress::Zlib IO::Compress::Bzip2)) {  



ModuleChecker.pm

search

Code
Select All
Compress::Bzip2 



change

Code
Select All
IO::Compress::Bzip2 



After the Admin Center to check whether it is green. If so, everything is in perfect order.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint