Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 25th, 2008, 01:04 PM
Newbie
 
Join Date: Nov 2008
Location: Bangalore
Posts: 7
Default Problem installing perl module for IO::Uncompress::Unzip

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 .

Last edited by numberwhun; December 29th, 2008 at 01:25 PM. Reason: Please use code tags
Reply
  #2  
Old December 25th, 2008, 05:44 PM
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,027
Default

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.
Reply
  #3  
Old December 29th, 2008, 04:41 AM
Newbie
 
Join Date: Nov 2008
Location: Bangalore
Posts: 7
Default

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
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

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 220,662 network members.