It looks like you don't have a C compiler and make utility installed. 错误

It looks like you don't have a C compiler and make utility installed.

Perl CPAN on Windows 7 64 bit



如果你想安装Perl package 不包含在预先编译库对于 ActiveState Perl on your Windows 7 64 bit?


如果包是包含在默认的ActiveState Perl repository, 那么没问题 只需要运行ppm


在以前的 ActiveState Perl版本里,ppm是一个预选配置的CPAN,但是你现在打开一个GUI 你可以轻松搜索和安装软件包

You can find some of them here.


如果 这个导致成功, 你可以使用CPAN从命令行,但是cpan 不会看到任何C 编译器,也没有"make"


C:\>cpan

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

ppm.bat install failed: Can't find any package that provides MinGW

It looks like the installation of dmake and MinGW 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!

cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.


在64位 我们认为只有使用 Visual C++ 编译器被包含在Windows SDK 7.1 1


Windows SDK 7.1 1 can be downloaded here:

    http://www.microsoft.com/en-us/download/details.aspx?id=8279

这个包需要 先安装 .NET Framework version 4,


http://www.microsoft.com/en-us/download/details.aspx?id=17851


现在, 安装SDK 7.1,确保选项"编译器"在期间


在那之后, 你会从一个开始cpan从一个预配置的命令行windows:


打开ms-dos,并键入(验证这是正确的路径)


"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /x64 /release


在这之后, msdos 字符改变为黄色 来变为

你可能感兴趣的:(系统管理)