【发布时间】:2014-03-05 09:00:29
【问题描述】:
如何在 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!
【问题讨论】:
-
您可以使用 perl 包管理器。 ppm。参考activestate.com/blog/2010/10/…
-
ppm 的模块覆盖范围各不相同,但可能足以满足 OP 的需求。这比让 CPAN 在 64 位 Windows 上编译软件包要容易很多(这是可能的,我已经这样做了,但是是在 2 年前,我没有笔记来构建一个在这里回答)。
标签: perl cpan activestate