Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Problems with activeperl build 631

by chinman (Monk)
on Jan 17, 2002 at 06:18 UTC ( #139419=perlquestion: print w/replies, xml ) Need Help??

chinman has asked for the wisdom of the Perl Monks concerning the following question:

Recently, (and unfortunately) I upgraded to ActivePerl 5.6.1 build 631 on Win2k. It seems that ever since then, I get an error message when I try and run ANY old perl script, even a basic hello world. Scripts do actually run, but windoze complains and puts up an annoying dialogue like this:

"Cannot find the file hello.pl (or one of its components). Make sure the path and filename are correct and that all required libraries are available."

It's acting like perl can't locate the path to perl.exe, or the file association is incorrect, etc., even though I've checked the PATH environment variable, the file association looks ok, the script is in the correct place, etc. I've tried ActivePerl uninstall/reinstall with no help. Interestingly, I can type "perl hello.pl" and everything works fine.

@INC is set to C:/Perl/lib C:/Perl/site/lib

Has anyone else seen this before? Any help would be appreciated. Thanks!

chinman

Replies are listed 'Best First'.
Re: Problems with activeperl build 631
by Anonymous Monk on Jan 17, 2002 at 07:56 UTC
    I have upgraded to 631 on Win2k and I don't have the problem
    you are encountering. Have you scaned the registry for all
    the perl.exe entries? I have an entry in:
    HKEY_USERS\S-1-5-21-1229272821-1580818891-1957994488-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pl\OpenWithList that has perl.exe with 'a' as the key.
      Thanks for the suggestion. I was also successful in getting this to install on another Win2k system. I checked that reg entry and it looks ok. This has got me baffled. Something makes me think that uninstalling something else unrelated to Perl unregistered one of my DLL's. I had to re-register scrrun.dll to get komodo to install properly.
Re: Problems with activeperl build 631 (boo)
by boo_radley (Parson) on Jan 17, 2002 at 08:50 UTC
    I've had things like this happen when upgrading ActivePerl. Uninstalling the initial version and then installing seems to take care of it. It's also caused assorted memory leaks & BSOD issues when I tried using some win32 modules. Yes, it's weak advice, but there it is.
      Another thing to watch for is an old 500 series build. A 600 series build will not upgrade a 500 series correctly (this is documented on the Activestate website). I know this because we upgraded an early 600 series to 631 without noticing an old 500 series build that was never unistalled. I can't tell you how many strange error we ended up getting from this lovely little problem. We ended up removing all installations of perl and removing any registry entries with the word perl in them to fix it.

      It is such an improvement to keep your critial setup information in a obfuscated hack of a database, than easily read and searched flat files

      grep
      grep> cd pub
      grep> more beer

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://139419]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2022-08-15 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?