Perl Install PAR:Packer Problems

前端 未结 3 1235
小鲜肉
小鲜肉 2020-12-31 23:33

My perl version is 5.16.2 on my Windows 7 64bit, I failed to install PAR:Packer. I tried active perl and strawberry perl , both got the same error. Can you please give me so

3条回答
  •  时光说笑
    2021-01-01 00:00

    I'll start off with my own environment:

    • Windows 7 x64 en_US
    • Strawberry Perl v5.16.2 32bit

    I just confirmed that I do have PAR::Packer working on my environment. I'm running PAR::Packer version 1.014.

    There is a bug logged about PAR::Packer 1.013 failing to build on certain environments. The bug is logged on CPAN here: https://rt.cpan.org/Public/Bug/Display.html?id=77408

    I recommend trying one of the following paths forward (based on your build version requirements):

    1. Install PAR::Packer 1.0.14.
    2. Install the patched version of PAR::Packer 1.013 that is available at http://strawberryperl.com/package/kmx/perl-modules-patched/PAR-Packer-1.013_patched.tar.gz

    To build you will need any dependencies as well. Hopefully those work just fine through CPAN.

    Download either the patched version listed above or the latest version from the CPAN site, then execute:

    perl Makefile.pl
    dmake
    dmake test
    dmake install
    

    Keep in mind PAR::Packer requires a C/C++ compiler to build.

提交回复
热议问题