0

How can I build cpan modules on 64-bit windows server 2012?

This is the error message:

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!
mpapec
  • 50,217
  • 8
  • 67
  • 127
Yishu Fang
  • 9,448
  • 21
  • 65
  • 102
  • 1
    You can use perl package manager. ppm. Refer http://www.activestate.com/blog/2010/10/how-install-cpan-modules-activeperl – sunil_mlec Mar 05 '14 at 09:06
  • ppm's coverage of modules varies, but might be enough to cover OP's needs. It is a *lot* easier than getting CPAN to compile packages on 64-bit Windows (which is possible, I have done so, but was 2 years ago and I don't have notes in order to construct an answer here). – Neil Slater Mar 05 '14 at 09:27

1 Answers1

2

Use Strawberry Perl (64bit)! This version of Perl comes with a gcc compiler and is working on 64bit systems, you can download modeules from CPAN and compile them if needed.