无法在Windows上安装Perl模块的Net :: SSH :: Perl的64位模块、Perl、Windows、SSH

2023-09-08 00:26:47 作者:酒醉出人性

我已经安装了积​​极的perl的2008服务器(64位)。 我尝试安装的Net :: SSH :: Perl中使用命令CPAN安装的Net :: SSH :: Perl的。问了几个问题后,就开始安装,但没有指出使测试回来了不好的状态,将不安装没有力量。于是,我就用命令来强制安装,cpanp安装的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.

更新:网:: SSH2分布包括介绍如何在Windows下安装一个文件(的 BUILDING.WIN32 )。

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

另外,如果你使用的ActiveState Perl中,你可以从这里得到precompiled包/www.sisyphusion.tk/ppm/

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