in reply to Re: Strawberry 5.12 and PAR::Packer 1.004
in thread Strawberry 5.12 and PAR::Packer 1.004

The simplest workaround is to copy c:\strawberry\perl\bin\perl512.dll to c:\strawberry\perl\bin\perl511.dll

I'm thinking a slightly better solution would be to copy C:/strawberry\perl\lib\CORE\libperl511.a to C:/strawberry\perl\lib\CORE\libperl512.a and then change the libperl entry in C:/strawberry/perl/lib/Config_heavy.pl to 'libperl512.a'.

That would be better only in that it brings the libperl setting into line with the convention (of matching the perl version number).

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: Strawberry 5.12 and PAR::Packer 1.004
by samtseng (Initiate) on Jun 01, 2010 at 16:31 UTC

    I installed strawberry-perl-5.12.0.1.msi on Windows 7 Enterprise over a lastest MacBook Pro (iCore 7). I then run "cpan PAR::Packer" under DOS. But I first encountered a problem that I now forgot. After adding "C:\strawberry\c\libexec\gcc\i686-w64-mingw32\4.4.3" to the PATH environment variable, that problem has gone.

    However, I had the next problem:

    C:\strawberry\perl\bin\perl.exe -e "chmod(oct('0444'), '..\blib\lib\PA +R\StrippedPARL\Dynamic.pm');" dmake.EXE: Error: -- `script\parldyn.exe' not found, and can't be mad +e RSCHUPP/PAR-Packer-1.004.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK

    After running:

    copy C:\strawberry\perl\lib\CORE\libperl511.a C:\strawberry\perl\lib\ +CORE\libperl512.a
    and installing the PAR::Packer again, the parldyn.exe still cannnot be found.

    When I run:

    copy C:\strawberry\perl\lib\CORE\libperl511.a C:\strawberry\perl\lib\C +ORE\libperl512.a
    it failed because libperl512.a has already been there (while libperl511.a was not) and in C:/strawberry/perl/lib/Config_heavy.pl, the libperl entry is already set to 'libperl512.a'.

    I then run the installation again, but the same problem occurred (`script\parldyn.exe' not found). Any solutions? Thanks.