--On Tuesday, August 12, 2003 2:32 PM -0400 "KING,SETH (HP-Boise,ex1)" <[EMAIL PROTECTED]> wrote:
I recently installed the ActivePerl 5.8.0.806 on my Win2k box. I installed it in the default location "C:\Perl" and have not moved it or done anything to the installation. When I type "ppm" at the C:\ prompt I get the following error:
"Error: neither 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in registry at C:\Perl\bin\ppm.bat line 29.
Any ideas?
I have the same version of Perl (ActivePerl 5.8.0.806, but on winXP) and those registry keys do not exist on my machine either. Looking at ppm.bat, I see
my $key1 = 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation'; my $key2 = 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation'; my $own = "$Config{binexp}\\ppm3-bin"; 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;
Line 29 is the die(). So, does c:\Perl\bin\ppm3-bin exist? I suspect it doesn't, as that seems to be the only way you could get that error.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]