On Sat, 28 Nov 2009, Brian H. Oak wrote:
> Today I uninstalled ActivePerl 5.8.9, then installed 5.10.1 build
> 1006. Every time that I open PPM now, the PPM status bar shows
> "Install Area: user", and PPM's MDI freezes until exited. When the
> Edit > Preferences menu item is selected, an error message appears:
> "Install area 'user' does not exist at
> C:/Perl/lib/ActivePerl/PPM/Client.pm line 215." Selecting Edit >
> Preferences again brings up the preferences dialog, but it's stuck on
> the "Areas" tab and won't allow any changes to the Install Area
> settings. The "Areas" tab shows the "site" and "perl" areas, which are
> the only installation areas I've ever used.
>
> Is there some way to change the Install Area setting to "site" outside
> of PPM, so that PPM will start with a correct Install Area setting and
> function correctly?

I have no idea why PPM is hanging just because an install area doesn't
exist, so I would be interested in getting enough information to be able
to reproduce this.

As for install areas, they are derived from the contents of @INC.  So
beyond the builtin 'perl' and 'site' areas you can have other areas when
you add libraries via PERL5LIB environment variables, or via the
sitecustomize.pl script.

PPM will normally select the first writeable directory from the list
in @INC as the default install area.  This is normally 'site' if you
haven't added any other directories.

So what does `perl -V` say about your @INC settings?  Is there a non-existing
X:\foo\bar\user directory in there?  This would still not explain the behavior
though, as PPM should just skip the non-existing directory (it is after all
not writeable by you) and select the next one.

Therefore the only other thing I can think of is that you installed
ActivePerl 5.10 on top of the old 5.8 directory without manually removing
the C:\Perl tree after uninstalling 5.8.  This shouldn't really be necessary,
but it seems that sometimes the MSI installer will not install a new file
if there is some old content still around.

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to