Re: PPM Trouble
by Fluff other posts by this author
Sep 29 2006 4:09AM messages near this date
view in the new Beta List Site
Re: PPM Trouble
|
PPM4 PPD for SVG::Graph
Gisle Aas wrote:
> Fluff <dune@[...].net> writes:
>
>
>
> >I've just upgraded from AS Perl 5.8.6 build 811 to 5.8.8 build 819.
> >After removing the old perl, rebooting, deleting the old tree and
> >installing the new version I tried to run ppm, but I get the following
> >error:
> >
> >ppm failed: DBI connect('dbname=C:/Documents and
> >settings/Administrator/Application
> >Data/ActivePerl/819/ppm-MSWin32-x86-multi-thread-5_8.db', '',...)
> >failed: unable to open database file(1)
> >
> >and of cause, there's no such file when I look for it. I tried to create
> >an empty file in a very hopeless attempt to foul ppm. No luck there either.
> >
> >
>
> Did PPM manage to create the "C:/Documents and
> settings/Administrator/Application Data/ActivePerl/819/" directory?
>
>
Yup, no problem.
> Did it end up with permission settings on that directory that prevent
> files from being created?
>
>
No, the dir only allows Administrator full privileges (using NTFS rights
to block other users out).
> Does it work to run 'ppm' as a regular user on the system?
>
>
I have no other accounts then Administrator on this computer.
>
>
> >So, how do I really solve this? I've removed 5.8.8, rebooted and
> >re-installed again. And I've also tried to "repair" the install. Nu
> >success there either.
> >
> >Please, I really need to get this working...
> >
> >
>
> You could also try to set the environment variable ACTIVEPERL_PPM_HOME
> to the name of some directory that PPM is able to write to. This
> override the default 'APPDATA' directory (the "C:/Documents and
> settings/Administrator/Application Data/..." path above) that ppm
> normally uses to store the database.
>
>
Hmm. This one worked. So I guess it's a problem with user rights and
privileges then. But I'd asume that running ppm as administrator would
pose no problems to storing stuff under the Administrators documents.
Well well, setting $ENV{ACTIVEPERL_PPM_HOME} in bin/ppm did work.
Thanks a lot!
/Fluff
_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
Thread:
Fluff
Gisle Aas
Fluff
|