如何在64位Windows Server 2012上构建cpan模块?

时间:2014-03-05 09:00:29

标签: perl cpan activestate

如何在64位Windows Server 2012上构建cpan模块?

这是错误消息:

It looks like you don't have a C compiler and make utility installed.  Trying
to install dmake and the MinGW64 gcc compiler using the Perl Package Manager.
This may take a a few minutes...

Downloading pan packlist...done
ppm.bat install failed: Can't find any package that provides MinGW64

It looks like the installation of dmake and MinGW64 has failed.  You will not
be able to run Makefile commands or compile C extension code.  Please check
your internet connection and your proxy settings!

1 个答案:

答案 0 :(得分:2)

使用Strawberry Perl(64位)!这个版本的Perl附带一个gcc编译器,正在开发64位系统,你可以从CPAN下载modeule并在需要时编译它们。