无法在 Windows 64 位上安装 Perl 模块 Net::SSH::Perl [英] Unable to install the perl module Net::SSH::Perl on windows 64 bit

查看:33
本文介绍了无法在 Windows 64 位上安装 Perl 模块 Net::SSH::Perl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Windows 2008 服务器(64 位)上安装了 active perl.我尝试使用命令 cpan install Net::SSH::Perl 安装 Net::SSH::Perl.问了几个问题后,它开始安装但失败了,说make test 返回了错误状态,不强制安装不会安装.所以我尝试使用命令强制安装,cpanp install Net::SSH::Perl.但仍然没有成功.得到错误结尾无法为‘Net::SSH:Perl’创建新的分发对象——无法继续"

I have installed active perl on windows 2008 server (64 bit). I tried installing Net::SSH::Perl using the command cpan install Net::SSH::Perl. After asking a few questions it started installing but failed stating that "make test had returned bad status, won't install without force. So I tried with the command to force the installation, cpanp install Net::SSH::Perl. But still no success. Got the error ending "Unable to create a new Distribution object for 'Net::SSH:Perl' -- cannot continue"

有人可以帮我安装这个模块吗?谢谢.

Can someone help me install this module? Thanks.

推荐答案

Net::SSH::Perl 老了,无人维护,使用 Net::SSH2 代替.

Net::SSH::Perl is old an unmaintained, use Net::SSH2 instead.

更新:Net::SSH2 发行版包含一个描述如何在 Windows 下安装它的文件 (BUILDING.WIN32).

update: The Net::SSH2 distribution includes a file describing how to install it under Windows (BUILDING.WIN32).

此外,如果您使用的是 ActiveState Perl,您可以从这里获得预编译包:http://www.sisyphusion.tk/ppm/

Also, If you are using ActiveState Perl, you can get precompiled packages from here: http://www.sisyphusion.tk/ppm/

这篇关于无法在 Windows 64 位上安装 Perl 模块 Net::SSH::Perl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆