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
>>
>>
>
>