【问题标题】:How can I build cpan modules on 64-bit windows server 2012?如何在 64 位 windows server 2012 上构建 cpan 模块?
【发布时间】: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


【解决方案1】:

使用Strawberry Perl(64 位)!这个版本的 Perl 带有一个 gcc 编译器,并且可以在 64 位系统上运行,您可以从 CPAN 下载模型并在需要时对其进行编译。

【讨论】:

    猜你喜欢
    • 2012-04-19
    • 2013-10-31
    • 1970-01-01
    • 2011-05-17
    • 1970-01-01
    • 2017-01-06
    • 2016-11-30
    • 1970-01-01
    • 2017-07-19
    相关资源
    最近更新 更多