problems with Compress::Zlib

A

agenteo

Hi,
My final purpose is to configure the OCS Inventory
(http://ocsinventory.sourceforge.net/).
I'm writing here cause my problem is when it check for perl modules:

+----------------------------------------------------------+
| Checking for required Perl Modules... |
+----------------------------------------------------------+

Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for Apache::DBI PERL module...
Found that PERL module Apache::DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for Compress::Zlib PERL module...
*** ERROR: PERL module Compress::Zlib is not installed !

Installation aborted !

So I've tried
use Compress::Zlib;
but I get this:
Can't locate IO/Compress/Base/Common.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
Compilation failed in require at test.pl line 1.
BEGIN failed--compilation aborted at test.pl line 1.

I'm on FC6, I don't know if I'm using the (installed) RPM package
named:
Name : perl-Compress-Zlib
Arch : i386
Version: 1.42
Release: 1.fc6

or one installed manually.

Thanks for your help,
Enrico
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,130
Members
46,689
Latest member
liammiller

Latest Threads

Top