Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 60399
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: mblythester [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Strawberry Perl portable assumes C:\ is writable when using PPM to install modules
Date: Mon, 16 Aug 2010 12:19:52 -0600
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Matt Blythe <mblythester [...] gmail.com>
After the portable distribution is extracted, the file perl/vendor/lib/ppm.xml includes the following: <OPTIONS BUILDDIR="C:\strawberry\ppm" CLEAN="1" CONFIRM="1" DOWNLOADSTATUS="16384" FORCEINSTALL="1" IGNORECASE="1" MORE="24" ROOT="" TRACE="0" TRACEFILE="PPM.LOG" VERBOSE="1" /> On my father's work machine, his paranoid IT department has locked-down the C:\ drive, so c:\strawberry\ppm cannot be used as a build directory. When he runs PPM from the portable shell and attempts "install Date::Manip" he gets the following error message: Mkdir C:\Strawberry: Permission denied; access is denied at G:/perl/perl/vendor/lib/PPM.pm Line 337 I think it would be better to assume that the root of the strawberry perl installation (i.e. wherever the *.zip was extracted) is writable, instead of the C:\ drive. I am using the 5.12.1.0-portable release of strawberry perl. Thank you, MattB
Subject: Re: [rt.cpan.org #60399] Strawberry Perl portable assumes C:\ is writable when using PPM to install modules
Date: Tue, 17 Aug 2010 18:17:14 +1000
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
The Portable.pm mechanism which implements the core of Perl portability support needs an implementation driver for each module it is used with. So it has a Config.pm driver, and CPAN::Config driver, and so on. It doesn't currently have any hooks for PPM, and we'd probably need some kind of deeper change to PPM or the ppm front end to enable the "portablisation" of PPM. I'm not sure this is something we can fix quickly, especially since PPM isn't really open source any more. Adam K On 17 August 2010 04:20, Matt Blythe via RT <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> Mon Aug 16 14:20:00 2010: Request 60399 was acted upon. > Transaction: Ticket created by mblythester@gmail.com >       Queue: Perl-Dist-Strawberry >     Subject: Strawberry Perl portable assumes C:\ is writable when using PPM to install modules >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: mblythester@gmail.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > > > > After the portable distribution is extracted, the file > perl/vendor/lib/ppm.xml includes the following: > > <OPTIONS BUILDDIR="C:\strawberry\ppm" CLEAN="1" CONFIRM="1" > DOWNLOADSTATUS="16384" FORCEINSTALL="1" IGNORECASE="1" MORE="24" > ROOT="" TRACE="0" TRACEFILE="PPM.LOG" VERBOSE="1" /> > > On my father's work machine, his paranoid IT department has > locked-down the C:\ drive, so c:\strawberry\ppm cannot be used as a > build directory.  When he runs PPM from the portable shell and > attempts "install Date::Manip" he gets the following error message: > > Mkdir C:\Strawberry: Permission denied; access is denied at > G:/perl/perl/vendor/lib/PPM.pm Line 337 > > I think it would be better to assume that the root of the strawberry > perl installation (i.e. wherever the *.zip was extracted) is writable, > instead of the C:\  drive. > > I am using the 5.12.1.0-portable release of strawberry perl. > > Thank you, > MattB > >
Subject: Re: [rt.cpan.org #60399] Strawberry Perl portable assumes C:\ is writable when using PPM to install modules
Date: Tue, 17 Aug 2010 08:52:32 -0600
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Matt Blythe <mblythester [...] gmail.com>
Is there a way to install perl modules without using PPM? If so, then I'd consider this bug low priority, or a documentation bug. I'm fairly new to perl, and my google searches only lead to vague references to CPAN and a very good descriptioon of how to use PPM. I attempted adding "cpan Date::Manip;" to my script, but it didn't seem to do anything and continued giving me errors at the line "use Date::Manip qw(ParseDate Date_Cmp);". At the time, I hadn't found the page https://www.socialtext.net/perl5/index.cgi?installing_modules to attempt this method: perl -MCPAN -e'install Acme::ExampleModule' If there is a preferred method for installing modules in Strawberry perl, perhaps that should be added as a link off of http://strawberryperl.com/support.html ? Thanks, MattB On Tue, Aug 17, 2010 at 2:17 AM, Reserved Local Account via RT <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > > > The Portable.pm mechanism which implements the core of Perl > portability support needs an implementation driver for each module it > is used with. > > So it has a Config.pm driver, and CPAN::Config driver, and so on. > > It doesn't currently have any hooks for PPM, and we'd probably need > some kind of deeper change to PPM or the ppm front end to enable the > "portablisation" of PPM. > > I'm not sure this is something we can fix quickly, especially since > PPM isn't really open source any more. > > Adam K > > On 17 August 2010 04:20, Matt Blythe via RT > <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote:
>> Mon Aug 16 14:20:00 2010: Request 60399 was acted upon. >> Transaction: Ticket created by mblythester@gmail.com >>       Queue: Perl-Dist-Strawberry >>     Subject: Strawberry Perl portable assumes C:\ is writable when using PPM to install modules >>   Broken in: (no value) >>    Severity: (no value) >>       Owner: Nobody >>  Requestors: mblythester@gmail.com >>      Status: new >>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > >> >> >> After the portable distribution is extracted, the file >> perl/vendor/lib/ppm.xml includes the following: >> >> <OPTIONS BUILDDIR="C:\strawberry\ppm" CLEAN="1" CONFIRM="1" >> DOWNLOADSTATUS="16384" FORCEINSTALL="1" IGNORECASE="1" MORE="24" >> ROOT="" TRACE="0" TRACEFILE="PPM.LOG" VERBOSE="1" /> >> >> On my father's work machine, his paranoid IT department has >> locked-down the C:\ drive, so c:\strawberry\ppm cannot be used as a >> build directory.  When he runs PPM from the portable shell and >> attempts "install Date::Manip" he gets the following error message: >> >> Mkdir C:\Strawberry: Permission denied; access is denied at >> G:/perl/perl/vendor/lib/PPM.pm Line 337 >> >> I think it would be better to assume that the root of the strawberry >> perl installation (i.e. wherever the *.zip was extracted) is writable, >> instead of the C:\  drive. >> >> I am using the 5.12.1.0-portable release of strawberry perl. >> >> Thank you, >> MattB >> >>
> >
Subject: Re: [rt.cpan.org #60399] Strawberry Perl portable assumes C:\ is writable when using PPM to install modules
Date: Wed, 18 Aug 2010 10:14:06 +1000
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
The cpan Date::Manip command should be run from the windows command line, it's not a Perl command. (And it means the same as that perl -MCPAN line) Adam K On 18 August 2010 00:52, Matt Blythe via RT <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
>       Queue: Perl-Dist-Strawberry >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > > > Is there a way to install perl modules without using PPM?  If so, then > I'd consider this bug low priority, or a documentation bug. > > I'm fairly new to perl, and my google searches only lead to vague > references to CPAN and a very good descriptioon of how to use PPM. > > I attempted adding "cpan Date::Manip;" to my script, but it didn't > seem to do anything and continued giving me errors at the line "use > Date::Manip qw(ParseDate Date_Cmp);". > > At the time, I hadn't found the page > https://www.socialtext.net/perl5/index.cgi?installing_modules to > attempt this method: > perl -MCPAN -e'install Acme::ExampleModule' > > If there is a preferred method for installing modules in Strawberry > perl, perhaps that should be added as a link off of > http://strawberryperl.com/support.html ? > > Thanks, > MattB > > On Tue, Aug 17, 2010 at 2:17 AM, Reserved Local Account via RT > <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > >> >> The Portable.pm mechanism which implements the core of Perl >> portability support needs an implementation driver for each module it >> is used with. >> >> So it has a Config.pm driver, and CPAN::Config driver, and so on. >> >> It doesn't currently have any hooks for PPM, and we'd probably need >> some kind of deeper change to PPM or the ppm front end to enable the >> "portablisation" of PPM. >> >> I'm not sure this is something we can fix quickly, especially since >> PPM isn't really open source any more. >> >> Adam K >> >> On 17 August 2010 04:20, Matt Blythe via RT >> <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote:
>>> Mon Aug 16 14:20:00 2010: Request 60399 was acted upon. >>> Transaction: Ticket created by mblythester@gmail.com >>>       Queue: Perl-Dist-Strawberry >>>     Subject: Strawberry Perl portable assumes C:\ is writable when using PPM to install modules >>>   Broken in: (no value) >>>    Severity: (no value) >>>       Owner: Nobody >>>  Requestors: mblythester@gmail.com >>>      Status: new >>>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60399 > >>> >>> >>> After the portable distribution is extracted, the file >>> perl/vendor/lib/ppm.xml includes the following: >>> >>> <OPTIONS BUILDDIR="C:\strawberry\ppm" CLEAN="1" CONFIRM="1" >>> DOWNLOADSTATUS="16384" FORCEINSTALL="1" IGNORECASE="1" MORE="24" >>> ROOT="" TRACE="0" TRACEFILE="PPM.LOG" VERBOSE="1" /> >>> >>> On my father's work machine, his paranoid IT department has >>> locked-down the C:\ drive, so c:\strawberry\ppm cannot be used as a >>> build directory.  When he runs PPM from the portable shell and >>> attempts "install Date::Manip" he gets the following error message: >>> >>> Mkdir C:\Strawberry: Permission denied; access is denied at >>> G:/perl/perl/vendor/lib/PPM.pm Line 337 >>> >>> I think it would be better to assume that the root of the strawberry >>> perl installation (i.e. wherever the *.zip was extracted) is writable, >>> instead of the C:\  drive. >>> >>> I am using the 5.12.1.0-portable release of strawberry perl. >>> >>> Thank you, >>> MattB >>> >>>
>> >>
> >
should be fixed in portable 5.16.0 - you can check 5.16. beta at http:/strawberryperl.com/beta