On Fri, 01 Aug 2003 00:34:55 -0300, Alberto Adrian <[EMAIL PROTECTED]>
wrote:

>I am having trouble at my Win XP Pro with PPM3. It might have started 
>failing after I used perl -MCPAN ...  Now, when I call ppm3 it answers:
>Error: neither 
>'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 
>'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in 
>registry at ppm3.bat line 29.
>And at lines previous to 29 I find the following...
>my $opt_exe = -f $own            ? $own        :
>          defined $R->{$key1}    ? $R->{$key1}    :
>          defined $R->{$key2}    ? $R->{$key2}    : undef;
>
>die "Error: neither '$key1' nor '$key2' found in registry"
>  unless defined $opt_exe;
>What might have erased those lines from the Registry? Is it recoverable, 
>without re-installing all?

The registry entries aren't really used anymore.  It seems like you
renamed your Perl directory.  That is a bad idea:  various paths inside
both Perl\lib\Config.pm as well as PPM configuration information must be
updated to keep Perl and PPM working correctly.

You could try to use the Perl\bin\reloc_perl.bat script to update your
installation to the new path.  Make a backup of your tree first, as
reloc_perl with the wrong parameters may mangle your installation even
further.  I would recommend to move your Perl tree back to the original
location.

Cheers,
-Jan

PS: There is also a dedicated PPM mailing list for questions/problems with
PPM.
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to