免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7448 | 回复: 9

Active Perl怎么安装Net-SFTP-Foreign-1.75.tar.gz? [复制链接]

论坛徽章:
0
发表于 2013-08-26 14:48 |显示全部楼层
20可用积分
Active Perl怎么安装Net-SFTP-Foreign-1.75.tar.gz?

这个真不知怎么下手

最佳答案

查看完整内容

直接在cmd里面输入cpan App::cpanminus和cpanm Net::SFTP::Foreigh你用的是activeperl? 看这个报错似乎是5.12或以下的版本(装模块报401的错误),建议重装为5.14或以上的版本回复 5# cups_book

论坛徽章:
6
丑牛
日期:2014-03-21 15:42:04子鼠
日期:2014-04-12 11:50:17处女座
日期:2014-09-01 09:25:1115-16赛季CBA联赛之吉林
日期:2015-12-22 14:01:5215-16赛季CBA联赛之广东
日期:2016-03-08 18:49:422016科比退役纪念章
日期:2016-07-06 12:19:55
发表于 2013-08-26 14:48 |显示全部楼层
直接在cmd里面输入cpan App::cpanminus和cpanm Net::SFTP::Foreigh
你用的是activeperl? 看这个报错似乎是5.12或以下的版本(装模块报401的错误),建议重装为5.14或以上的版本回复 5# cups_book


   

论坛徽章:
6
丑牛
日期:2014-03-21 15:42:04子鼠
日期:2014-04-12 11:50:17处女座
日期:2014-09-01 09:25:1115-16赛季CBA联赛之吉林
日期:2015-12-22 14:01:5215-16赛季CBA联赛之广东
日期:2016-03-08 18:49:422016科比退役纪念章
日期:2016-07-06 12:19:55
发表于 2013-08-26 15:08 |显示全部楼层
本帖最后由 stanley_tam 于 2013-08-26 15:09 编辑

你是要装模块, 还是这货已经下载下来了,要装这个.tar.gz文件?如果是装模块,偶一般这么装。
  1. cpan App::cpanminus
  2. cpanm Net::SFTP::Foreigh
复制代码

论坛徽章:
78
双子座
日期:2013-10-15 08:50:09天秤座
日期:2013-10-16 18:02:08白羊座
日期:2013-10-18 13:35:33天蝎座
日期:2013-10-18 13:37:06狮子座
日期:2013-10-18 13:40:31双子座
日期:2013-10-22 13:58:42戌狗
日期:2013-10-22 18:50:04CU十二周年纪念徽章
日期:2013-10-24 15:41:34巨蟹座
日期:2013-10-24 17:14:56处女座
日期:2013-10-24 17:15:30双子座
日期:2013-10-25 13:49:39午马
日期:2013-10-28 15:02:15
发表于 2013-08-26 15:22 |显示全部楼层
用ppm啊   

论坛徽章:
0
发表于 2013-08-27 08:42 |显示全部楼层
stanley_tam 发表于 2013-08-26 15:08
你是要装模块, 还是这货已经下载下来了,要装这个.tar.gz文件?如果是装模块,偶一般这么装。



已经下载下来了,能再给点更具体的提示吗?

论坛徽章:
0
发表于 2013-08-27 08:43 |显示全部楼层
本帖最后由 cups_book 于 2013-08-27 09:03 编辑

回复 2# stanley_tam


    cpan App::cpanminus
cpanm Net::SFTP::Foreigh

这两句应该怎么执行呢


cmd_cpan.PNG

论坛徽章:
0
发表于 2013-08-27 09:54 |显示全部楼层
本帖最后由 cups_book 于 2013-08-27 09:55 编辑

回复 6# stanley_tam


    是的,是5.12,我还以为这版本已经很高了呢,要升到5.14?需要卸载已经装好的5.12吗?我先下个5.14来试试看直接安装?

C:\>perl -v

This is perl 5, version 12, subversion 1 (v5.12.1) built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)

Copyright 1987-2010, Larry Wall

Binary build 1201 [292674] provided by ActiveState http://www.ActiveState.com
Built May 14 2010 00:34:27

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

论坛徽章:
0
发表于 2013-08-27 10:28 |显示全部楼层
C:\>perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2012, Larry Wall

Binary build 1603 [296746] provided by ActiveState http://www.ActiveState.com
Built Mar 13 2013 11:29:21

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

论坛徽章:
0
发表于 2013-08-27 10:34 |显示全部楼层

stanley V5

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...

Downloading ActiveState Package Repository packlist...done
Updating ActiveState Package Repository database...done
Syncing site PPM database with .packlists...done
Downloading MinGW-5.1.4.1...done
Downloading dmake-4.11.20080107...done
Unpacking MinGW-5.1.4.1...done
Unpacking dmake-4.11.20080107...done
Generating HTML for MinGW-5.1.4.1...done
Generating HTML for dmake-4.11.20080107...done
Updating files in site area...done
1070 files installed

Please use the `dmake` program to run commands from a Makefile!

Set up gcc environment - 3.4.5 (mingw-vista special r3)

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

cpan>

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP