无法使用Strawberry Perl在Windows7 64位上安装模块pp



我想从我的perl脚本中创建exe文件,因此我尝试安装模块pp。

cpan> install pp
Database was generated on Tue, 31 Jul 2012 14:02:56 GMT
Running install for module 'pp'
Running make for R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
Checksum for C:strawberrycpansourcesauthorsidRRSRSCHUPPPAR-Packer-1.013
.tar.gz ok
Scanning cache C:strawberrycpanbuild for sizes
............................................................................DONE

  CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at C:/strawberry/perl/lib/Ex
tUtils/MakeMaker.pm line 219
Writing Makefile for par.exe
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
cp lib/App/Packer/PAR.pm bliblibAppPackerPAR.pm
cp lib/PAR/Packer.pm bliblibPARPacker.pm
cp lib/PAR/Filter/Obfuscate.pm bliblibPARFilterObfuscate.pm
cp lib/PAR/Filter/PodStrip.pm bliblibPARFilterPodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm bliblibPARStrippedPARLBase.pm
cp lib/PAR/Filter.pm bliblibPARFilter.pm
cp lib/PAR/Filter/PatchContent.pm bliblibPARFilterPatchContent.pm
cp lib/PAR/Filter/Bytecode.pm bliblibPARFilterBytecode.pm
cp lib/pp.pm bliblibpp.pm
cp lib/PAR/Filter/Bleach.pm bliblibPARFilterBleach.pm
C:strawberryperlbinperl.exe file2c.pl -s ..scriptpar.pl my_par_pl.c load_m
y_par_pl
C:strawberryperlbinperl.exe sha1.c.PL
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CON
TEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX  -I"C:straw
berryperllibCORE"  -DPARL_EXE="parl.exe" -s -O2 main.c
windres -F pei-i386 -i winrespp.rc -o winrespp.res
windres: can't open file `pp.manifest': No such file or directory
dmake:  Error code 129, while making 'ppresource.coff'
dmake.EXE:  Error code 255, while making 'subdirs'
  RSCHUPP/PAR-Packer-1.013.tar.gz
  C:strawberrycbindmake.EXE -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 RSCHUPP/PAR-Packer-1.013.tar.gz              : make NO

有人知道原因是什么吗?感谢您的帮助

pp生成文件有问题。

1.手动下载PM(此处)。

2.解压缩文件并找到myldr/winres文件夹。

3.会有类似pp.ico, pp.manifest, pp.rc等的文件。将这些文件复制到myldr/目录中。

4.手动运行安装。

  perl Makefile.pl
  dmake 
  dmake test 
  dmake install

注意-可能存在依赖关系,因此您可能必须手动或使用CPAN安装这些依赖关系。

我也遇到过类似的问题,但这是因为我安装了ActiveState Perl。我不得不卸载ActiveState并编辑我的环境变量,以删除对ActiveStatePerl的任何引用。

相关内容

  • 没有找到相关文章

最新更新