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:BI PERL module...
Found that PERL module Apache:BI 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
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:BI PERL module...
Found that PERL module Apache:BI 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