Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem installing perl module for IO::Uncompress::Unzip

Newbie
 
Join Date: Nov 2008
Location: Bangalore
Posts: 15
#1: Dec 25 '08
Hi all,

Here is my samle code
Expand|Select|Wrap|Line Numbers
  1. use strict ;
  2. use warnings ;
  3. use IO::Uncompress::Unzip ;
  4.  
When I compiled this three lines of code in win32 I got error like below.

Can't find 'boot_Compress__Raw__Zlib' symbol in C:/Perl/lib/auto/Compress/Raw/Zlib/Zlib.dl
l
at C:/Perl/lib/IO/Uncompress/RawInflate.pm line 8
Compilation failed in require at C:/Perl/lib/IO/Uncompress/RawInflate.pm line 8.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Uncompress/RawInflate.pm line 8.
Compilation failed in require at C:/Perl/lib/IO/Uncompress/Unzip.pm line 11.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Uncompress/Unzip.pm line 11.
Compilation failed in require at D:\somnath\PERL_C~1\ZIP_UN~1\t1_24.pl line 4.
BEGIN failed--compilation aborted at D:\somnath\PERL_C~1\ZIP_UN~1\t1_24.pl line 4.


Before running the code I went to CPAN site (http://search.cpan.org/~pmqs/IO-Comp...press/Unzip.pm) and search for the IO::Uncompress::Unzip module and downloaded it in my local machine (eg: c:\test folder )along with its all dependencies what ever required for win32 perl version 5.8.8 as a zip file (eg: IO::Uncompress::Base , Compress::Raw::Zlib )
then unzipped them in a different different folder and copied the content of "lib" file of each of the extracted module to the c:\perl\lib .

I also got one link
Installing Perl modules on Windows « ActiveState Code
for manually or through PPM to install perl modules but according to ths link after download if I extract the zipped module I am not getting the "Modulename.ppd" file to install according to the procedures given in that link.

I think the perl module installation could be the reason for the compilation error of above codes. Could any one help me on that .

Advance thank for any suggestions on this .

KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#2: Dec 25 '08

re: Problem installing perl module for IO::Uncompress::Unzip


You should use the PPM GUI and see if the module is listed and available to install. You can add repositories and see if it is in another repository if its not listed in the default activestate repository.
Newbie
 
Join Date: Nov 2008
Location: Bangalore
Posts: 15
#3: Dec 29 '08

re: Problem installing perl module for IO::Uncompress::Unzip


Yaa that worked.

I had previously perl 5.8.8 version and it is off x64 version . PPM GUI didnot work there. So I had to install perl 5.10 off x86 version and went through the docs in activestate site.

It is hassle free and very ease to use.

Thank you so much Kevin for your help.
Reply


Similar Perl bytes