in reply to Strawberry 5.12 and PAR::Packer 1.004

Unfortunately it is a bug in the latest strawberry perl.

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

You can read more info in the following RT I have just created: http://rt.cpan.org/Public/Bug/Display.html?id=57205

--

kmx

  • Comment on Re: Strawberry 5.12 and PAR::Packer 1.004

Replies are listed 'Best First'.
Re^2: Strawberry 5.12 and PAR::Packer 1.004
by syphilis (Archbishop) on May 04, 2010 at 23:04 UTC
    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

      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.

Re^2: Strawberry 5.12 and PAR::Packer 1.004
by Anonymous Monk on Jun 02, 2010 at 00:39 UTC
    Thats hilarious. ActiveState had problems like that with their build system, but they release more often.
      ActiveState had problems like that with their build system, but they release more often.

      Just to be clear about this - the problem was *not* specific to Strawberry's build system. It was a bug in the perl source that affected *every* build of perl (not just Strawberry) that was built using 'dmake'. The bug was actually in 'win32/makefile.mk', and therefore did not affect perls built using 'nmake' (such as ActvePerl) - which use 'win32/Makefile' instead.

      Cheers,
      Rob
        Aha ... I really hate those, the other platforms have it much easier with Configure :/