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创建一个perl脚本的二进制文件,而且我无法负担商业应用程序,如perl2exe和Active perl Dev工具包(我知道有试用版本)。
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.
正因为如此,我在一个Windows XP SP3 32位虚拟机上安装了草莓perl来尝试编译我的源文件;这是我在Linux上很容易做到的。
Strawberry perl installs fine however when I try to install the PAR::Packer module from cpan, I get the following errors:
但是,当我尝试安装PAR:: cpan的Packer模块时,我得到了以下错误:
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
I have googled extensively, but as of yet haven't been able to find a solution, any help is greatly appreciated, thanks a lot!
我已经搜索了很多,但是到目前为止还没有找到一个解决方案,任何帮助都非常感谢,非常感谢!
1 个解决方案
#1
2
Adding answer to aggregate comments above for future searchers:
为未来的搜寻者提供上述综合评论的答案:
Here's what works for me building on Windows systems.
这是我在Windows系统上构建的。
1) Use ActiveState Perl 5.x (I've used 5.10 through 5.14).
1)使用ActiveState Perl 5。x(我用了5。10到5。14)
2) Use PPM to install all packages you can from ActiveState PPM repository.
2)使用PPM来安装您可以从ActiveState PPM存储库中安装的所有包。
3) Fall back to CPAN to actually install PAR::Packer and any other requirements not in the ActiveState PPM repository.
3)回到CPAN实际安装PAR::Packer和任何其他要求,而不是在ActiveState PPM存储库中。
#1
2
Adding answer to aggregate comments above for future searchers:
为未来的搜寻者提供上述综合评论的答案:
Here's what works for me building on Windows systems.
这是我在Windows系统上构建的。
1) Use ActiveState Perl 5.x (I've used 5.10 through 5.14).
1)使用ActiveState Perl 5。x(我用了5。10到5。14)
2) Use PPM to install all packages you can from ActiveState PPM repository.
2)使用PPM来安装您可以从ActiveState PPM存储库中安装的所有包。
3) Fall back to CPAN to actually install PAR::Packer and any other requirements not in the ActiveState PPM repository.
3)回到CPAN实际安装PAR::Packer和任何其他要求,而不是在ActiveState PPM存储库中。