Perl安装PAR:打包程序问题 [英] Perl Install PAR:Packer Problems

查看:621
本文介绍了Perl安装PAR:打包程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的perl版本在Windows 7 64bit上为5.16.2,我无法安装PAR:Packer.我尝试了Active Perl和Strawberry Perl,都遇到了相同的错误.你能给我一些建议吗?以下是我的经验:

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 some suggestion. Below is my experience:

我尝试了ppm install PAR:Packer版本1.013,但是当我使用pp时,出现了错误:

I tried ppm install PAR:Packer, version 1.013, But when I use pp, I got the error:

Perl lib version (5.16.2) doesn't match executable version (v5.16.0).

我还尝试了cpan install PAR:Packer版本1.014.但是我在安装过程中遇到了错误.弹出窗口显示:par.exe has stopped working.然后命令提示符出现错误:

I also tried cpan install PAR:Packer, version 1.014. But I got the error during installation. The pop up window says: par.exe has stopped working. Then command prompt got the error:

C:\Perl64\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe
system(par.exe -I C:\Users\PAR-Packer-1.014\blib\arch -I C:\Users\PAR-Packer-1.014\blib\lib -     IC:/Perl64/site/lib -IC:/Perl64/lib -I. -q -B -Oparldyn.exe) failed:
dmake.exe:  Error code 255, while making 'parldyn.exe'
dmake.exe:  Error code 255, while making 'subdirs'

我已经在Google上进行了广泛的搜索,但是到目前为止,还没有找到解决方案,非常感谢您的帮助!

I have googled extensively, but as of yet haven't been able to find a solution, any help is greatly appreciated, thanks a lot!

推荐答案

我只是将.../perl64/Config.pm中的60行更改为

I simply changed the line 60 in .../perl64/Config.pm from

`$^V eq 5.16.3`

`$^V eq 5.16.3 or $^V eq 5.16.0`

瞧!通过ppm(ActiveState Perl 5.16.3)安装的我的par-packer模块1.013可以正常工作...

and voila! My par-packer module 1.013 installed through ppm (ActiveState Perl 5.16.3) works ...

这篇关于Perl安装PAR:打包程序问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆