IO::Compress::Gzip problem (CentOS) | Member | | Join Date: Aug 2008 Location: South essex, England
Posts: 82
| |
Im not perl expert with perl, and I am trying to run a server script (that I didnt write).
And perl reports: -
Can't locate IO/Compress/Gzip.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 packet.pl line 5.
-
BEGIN failed--compilation aborted at packet.pl line 5.
-
Compilation failed in require at core.pl line 8.
-
I have looked around google, and tried using cpan, and installing the Gzip package. The package already exists though.
And I am clueless and in need of advice.
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,565
| | | re: IO::Compress::Gzip problem (CentOS) Quote:
Originally Posted by Adam01 Im not perl expert with perl, and I am trying to run a server script (that I didnt write).
And perl reports: -
Can't locate IO/Compress/Gzip.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 packet.pl line 5.
-
BEGIN failed--compilation aborted at packet.pl line 5.
-
Compilation failed in require at core.pl line 8.
-
I have looked around google, and tried using cpan, and installing the Gzip package. The package already exists though.
And I am clueless and in need of advice. So, you say that IO::Compress::Gzip is installed? Well, its not finding it in the path. If it is something you previously installed, did the installation complete or error out? I ask because even though the directory may be there in your path, it may not be complete.
What OS are you using?
Regards,
Jeff
| | Member | | Join Date: Aug 2008 Location: South essex, England
Posts: 82
| | | re: IO::Compress::Gzip problem (CentOS)
CentOS vps, linux isnt my primary OS.
I'l check the paths the script is using, and if Gzip actually exists.
Where are the modules located?
(locate doesnt work because of a missing db)
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,565
| | | re: IO::Compress::Gzip problem (CentOS) Quote:
Originally Posted by Adam01 CentOS vps, linux isnt my primary OS.
I'l check the paths the script is using, and if Gzip actually exists.
Where are the modules located?
(locate doesnt work because of a missing db) The @INC array contains all of the paths where modules would be located (other than those you built and specified that is). You can just write a quick script to print out that variable and see what the path(s) are.
Regards,
Jeff
| | Member | | Join Date: Aug 2008 Location: South essex, England
Posts: 82
| | | re: IO::Compress::Gzip problem (CentOS)
Aha I got it working, it required active perl.
How do you replace the original perl with active perl?
I added activeperl /bin/ to PATH, but it would conflict with the old perl?
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,565
| | | re: IO::Compress::Gzip problem (CentOS) Quote:
Originally Posted by Adam01 Aha I got it working, it required active perl.
How do you replace the original perl with active perl?
I added activeperl /bin/ to PATH, but it would conflict with the old perl? You will just have to remove the link to the old Linux, that's all..... if you can. What I mean, is do you have administrative access to the machine? If so, then that is what you should do.
Regards,
Jeff
| | Member | | Join Date: Aug 2008 Location: South essex, England
Posts: 82
| | | re: IO::Compress::Gzip problem (CentOS)
It turns out the perl script isnt built for activeperl, (only on win)
So, Im back to the IO:Compress:Gzip problem again.
cpan, sais the module exists, but when I download the newer one, it fails to make it.
|  | Site Moderator | | Join Date: May 2007 Location: New Hampshire
Posts: 2,565
| | | re: IO::Compress::Gzip problem (CentOS) Quote:
Originally Posted by Adam01 It turns out the perl script isnt built for activeperl, (only on win)
So, Im back to the IO:Compress:Gzip problem again.
cpan, sais the module exists, but when I download the newer one, it fails to make it. If that is the case, then you are going to have to go into the build directory and run the make by hand so you can see why it is failing and correct the issue. If its not building, then you have to find out why and fix it.
Regards,
Jeff
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,223 network members.
|