473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Strawberry Perl (5.10.0.1) problem

numberwhun
3,509 Expert Mod 2GB
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
9 3029
eWish
971 Expert 512MB
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
3,509 Expert Mod 2GB
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
971 Expert 512MB
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
4,059 Expert 2GB
I have no idea Jeff.
Jun 3 '08 #5
numberwhun
3,509 Expert Mod 2GB
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
3,509 Expert Mod 2GB
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
3,509 Expert Mod 2GB
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
971 Expert 512MB
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
3,509 Expert Mod 2GB
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

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

Similar topics

46
by: Reinhold Birkenfeld | last post by:
Hello, another Perl/Python question: the subject says it all. Perl is going to change dramatically to become a more powerful and easier to (read|write) language. Is Python taking a similar...
1
by: Julia Bell | last post by:
I would like to run the same script on two different platforms. The directory in which the script(s) will be stored is common to the two platforms. (I see the same directory contents regardless...
1
by: sm00thcrimnl13 | last post by:
if i have windows 2000 and know how to write perl scripts, how to i actuvate the script through perl?
9
by: Martin Foster | last post by:
Hi. I would like to be able to mimic the unix tool 'uniq' within a Perl script. I have a file with entries that look like this 4 10 21 37 58 83 111 145 184 226...
3
by: PzYon | last post by:
Hey 2gether! I'm trying to execute a PERL script on the web server when the user presses a button in an ASP.NET Web Application using Visual Basic. The most obvious solution for me seemed to be...
1
by: smsabu2002 | last post by:
Hi, I am facing the build problem while installing the DBD-MySql perl module (ver 2.9008) using both GCC and CC compilers in HP-UX machine. For the Build using GCC, the compiler error is...
6
by: surfivor | last post by:
I may be involved in a data migration project involving databases and creating XML feeds. Our site is PHP based, so I imagine the team might suggest PHP, but I had a look at the PHP documentation...
7
numberwhun
by: numberwhun | last post by:
**NOTE: This article is written using the 5.8.8 Alpha2 release of Strawberry Perl. I am writing this article with much joy and glee. This is due to the fact that Active State no longer has a...
0
by: fennelllindy8241 | last post by:
strawberry patch
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.