By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,853 Members | 930 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,853 IT Pros & Developers. It's quick & easy.

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

P: 16
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 .
Dec 25 '08 #1
Share this Question
Share on Google+
2 Replies


KevinADC
Expert 2.5K+
P: 4,059
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.
Dec 25 '08 #2

P: 16
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.
Dec 29 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.