在Windows上安装PAR :: Packer,dmake错误255 [英] Installing PAR::Packer on Windows, dmake error 255

查看:352
本文介绍了在Windows上安装PAR :: Packer,dmake错误255的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Windows创建一个perl脚本的二进制文件,并且我买不起perl2exe和Active Perl Dev Kit这样的商业应用程序(我知道这里有试用版).

I am trying to create a binary of a perl script for Windows, and I cannot afford commercial applications such as perl2exe and Active Perl Dev Kit (I am aware there are trial versions).

因此,我在Windows XP SP3 32位虚拟机上安装了草莓perl来尝试编译我的源文件;我在Linux上很容易做到的事情.

Because of this I have installed strawberry perl on a Windows XP SP3 32bit Virtual Machine to try and compile my source file; something that I was easily able to do on Linux.

草莓perl可以很好地安装,但是当我尝试从cpan安装PAR :: Packer模块时,出现以下错误:

Strawberry perl installs fine however when I try to install the PAR::Packer module from cpan, I get the following errors:

dmake: Error code 129, while makeing 'ppresources.coff'
dmake.EXE: Error code 255, while making 'subdirs'
  RSCHUPP/PAR-Packer-1.013.tar.gz
  C:\strawberry\c\bin\dmake.EXE -- NOT OK

我已经在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!

推荐答案

添加答案以汇总评论,以供将来的搜索者使用:

Adding answer to aggregate comments above for future searchers:

这是在Windows系统上构建我的作品.

Here's what works for me building on Windows systems.

1)使用ActiveState Perl 5.x(我已使用5.10到5.14).

1) Use ActiveState Perl 5.x (I've used 5.10 through 5.14).

2)使用PPM安装可以从ActiveState PPM存储库中安装的所有软件包.

2) Use PPM to install all packages you can from ActiveState PPM repository.

3)回到CPAN上,以实际安装PAR :: Packer以及ActiveState PPM存储库中未包含的任何其他要求.

3) Fall back to CPAN to actually install PAR::Packer and any other requirements not in the ActiveState PPM repository.

这篇关于在Windows上安装PAR :: Packer,dmake错误255的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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