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

Strawberry Perl (5.10.0.1) problem

numberwhun
Expert Mod 2.5K+
P: 3,503
Ok, I recently installed Strawberry Perl 5.10.0.1 on my work laptop, here at my new job. (mind you by recently, I mean about a month ago). At my last job, I was running Strawberry Perl 5.8.8 and it was working fine, no issues.

Well, I installed the product fine, went through the CPAN initial setup and configuration and even ran Bundle::CPAN without issue. I tried to install a module yesterday and I was thrown the following error:

Expand|Select|Wrap|Line Numbers
  1. Catching error: 'Can\'t call method "value" on an undefined value at C:\\strawberry\\perl\\lib/IO/Uncompress/RawInflate.pm line 64.
  2. ' at C:/strawberry/perl/lib/CPAN.pm line 281
  3.         CPAN::shell() called at C:\strawberry\perl\bin/cpan.bat line 211
  4.  
I did some looking and couldn't find anything on this, so I re-installed Perl, but to no avail. I still get this same error. Does anyone have any clue as to what it is going on? I have not changed anything in the setup, I have only been coding and running Perl scripts. I am a little bewildered and curious as to why I am getting this error.

Thank you in advance for any help.

Best regards,

Jeff
Jun 3 '08 #1
Share this Question
Share on Google+
9 Replies


eWish
Expert 100+
P: 971
What module was it? I am using 5.10.0.1 as well. I could see if it will install for me on my machine.

--Kevin
Jun 3 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
What module was it? I am using 5.10.0.1 as well. I could see if it will install for me on my machine.

--Kevin
I tried it on Expect and to re-generate the error today for this post, I ran "install Bundle::CPAN".

It doesn't matter what module I try, I get the error all the time when trying to do a module installation. Rather a pain if you ask me.
Jun 3 '08 #3

eWish
Expert 100+
P: 971
You might browse the mailing list and see if there is a know problem with this and see if there is a fix. Other than that not sure what else to suggest.

--Kevin
Jun 3 '08 #4

KevinADC
Expert 2.5K+
P: 4,059
I have no idea Jeff.
Jun 3 '08 #5

numberwhun
Expert Mod 2.5K+
P: 3,503
You might browse the mailing list and see if there is a know problem with this and see if there is a fix. Other than that not sure what else to suggest.

--Kevin
Well, seeing as how I have work to do and did not really want to fuss around with an installation that was refusing to work, I removed Perl completely from my system. I went so far as to remove the directories after uninstall, including the .cpan directory. Basically, there was no trace of it left on my system.

I took the latest build from the Strawberry Perl website and installed it. Right now, I am installing Bundle::CPAN and it seems to be going fine. I don't really know, nor could I fathom what happened, but thanks anyway!

Regards,

Jeff
Jun 3 '08 #6

numberwhun
Expert Mod 2.5K+
P: 3,503
Ok, so I THOUGHT this issue was put to bed, but now I see that it isn't.

I downloaded an install script for Catalyst last night (the web Framework for Perl) and ran it to do the installation. In the script, there are a mess of "ppm" statements. I checked the bin directory for strawberry perl and there is a ppm executable in there. So, I ran it. Wouldn't you know it but it BOMBED with the original error? I did an install of WWW::Mechanize right before this and it finished fine. I am wondering if the ppm piece is messing this all up. Not sure why, but it seems to be. Here is what happens now when I try to do an install:

Expand|Select|Wrap|Line Numbers
  1. cpan> install Expect
  2. Database was generated on Tue, 03 Jun 2008 18:40:12 GMT
  3. Running install for module 'Expect'
  4. Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz
  5. Catching error: 'Can\'t call method "value" on an undefined value at C:\\strawberry\\perl\\lib/IO/Uncompress/RawInflate.pm line 64.
  6. ' at C:/strawberry/perl/lib/CPAN.pm line 281
  7.         CPAN::shell() called at -e line 1
  8.  
If nobody here has any idea, I may take this to the man himself who made Strawberry Perl and see if he has seen it happen.

Regards,

Jeff


***Update: Just so you know, I have emailed Adam Kennedy, the developer of Strawberry Perl. I think that this issue might be a bug and that he should know about it.
Jun 4 '08 #7

numberwhun
Expert Mod 2.5K+
P: 3,503
Ok, here is an update for anyone interested.

I emailed Adam Kennedy, the creator and maintainer of Strawberry Perl, and he believes that the PPM part of the script I was running might have installed a different, untested version of one of the necessary packages for Strawberry Perl (basically, IO::Uncompress).

So, his advice is to again, uninstall and reinstall, then DO NOT use the PPM script/executable. So, if you have Strawberry Perl installed, avoid the PPM script/executable at all costs.

Regards,

Jeff
Jun 4 '08 #8

eWish
Expert 100+
P: 971
Maybe you should make an article about this in case someone else has this problem.

Thanks for the update!

--Kevin
Jun 5 '08 #9

numberwhun
Expert Mod 2.5K+
P: 3,503
Maybe you should make an article about this in case someone else has this problem.

Thanks for the update!

--Kevin
True, I will have to do that. Thanks for the idea.
Jun 5 '08 #10

Post your reply

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