ChinaUnix.net
相关文章推荐:

cpan 安装 FileCopyRecursive 模块

我们知道在cpan可以设置安装模块到自己定义的目录下, 我看了下,就是在MyConfig.pm中定义变量makepl_arg, 但是如果安装模块需要其他依赖模块,则总是安装不成功, 好像这个参数对那些依赖模块不起作用,请问用过的人,是不是这样? ps:现在用cpanm,比较方便。但是还是想弄清楚,谢谢~

by cecial - Perl - 2012-02-22 11:42:34 阅读(1222) 回复(0)

相关讨论

程序需要用到Event::Lib这个模块 运行时出错 Can't locate Event/Lib.pm in @INC (@INC contains: 。。。 shell > cpan install Event::Lib ******************************************* Warning: No success on command[/usr/bin/perl Makefile.PL] 这里错了?? VPARSEVAL/Event-Lib-1.03.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install ...

by bitterness - Perl - 2008-12-02 14:58:25 阅读(1598) 回复(1)

cpan或者perl -Mcpan -e 'install perlmodules'都是交互式的,谁知道如何在shell脚本中安装,不进行交互吗?

by timdcn - Linux新手园地 - 2010-09-09 11:22:11 阅读(1500) 回复(2)
by rrrrrrrr8 - Perl - 2011-10-24 11:27:01 阅读(4953) 回复(4)

报错如下 # Failed test 'return utf8 string' # in t/SOAP/Transport/HTTP/CGI.t at line 57. t/SOAP/Transport/HTTP/CGI....................NOK 1 # Failed test 'utf8 content: Überall' # in t/SOAP/Transport/HTTP/CGI.t at line 59. # got: 'Überall' # expected: 'Überall' t/SOAP/Transport/HTTP/CGI....................NOK 2# Looks ...

by 天下第一菜 - Perl - 2012-04-06 18:49:20 阅读(1887) 回复(1)

在终端输入命令perl -Mcpan -e shell 提示terminal does not support AddHistory。 there seems to be running another cpan process(pid 1839) 接着nolcok_cpan>install Time::period warning'YAML' not install 接下来的几步都出现warning'YAML' not install make_test no 请问是什么问题 怎么解决

by chinaunixone198 - Linux新手园地 - 2009-11-24 16:48:28 阅读(1736) 回复(1)

Windows XP 下安装Perl cpan模块 1、从 www.cpan.org 搜索你所需要的模块,下载下来,一般是gz,或者tgz格式 2、用winRAR之类解压缩软件接压缩 3、进入COMMAN模式,进入到刚才解压缩的文件夹下,含有“Makefile.PL”文件的目录下: 依次运行: perl Makefile.PL nmake nmake test nmake install 安装就完成了. 我的系统是Windows XP, 安装的是ActivePerl-5.8.8.817-MSWin32-x86-...

by ptg0808 - Linux文档专区 - 2007-11-07 13:14:03 阅读(1000) 回复(0)

服务器不通外网,准备使用代理,无需认证。 首次执行perl -Mcpan -e shell,回答一堆问题包括代理设置,进入cpan>,安装模块和列模块失败,提示取模块失败,检查服务器网络,无与代理服务器通讯。怎样使cpan安装启用代理? 第二次执行perl -Mcpan -e shell直接进入,怎样修改上一次设置参数? 谢谢。

by uwave - Perl - 2008-04-07 17:35:04 阅读(8194) 回复(4)

最近要装bioperl。按照说明进行下面的操作[code]>cpan cpan>install Module::Build cpan>o conf prefer_installer MB cpan>o conf commit cpan>q[/code],装上bioperl之后,再用cpan装其他模块,提示[code]Reading '/root/.cpan/Metadata' Running install for module 'Array::Compare' The module Array::Compare isn't available on cpan. Either the module has not yet been uploaded to cpan, or it is temporary una...

by mswsg - Perl - 2013-04-01 15:14:49 阅读(1259) 回复(2)

[code]C:\NewModule>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw-vista special r3) dmake could not be found on the PATH. Please invoke it using the full pathname: C:\Perl\site\bin\dmake.exe or put the Perl\site\bin directory on the PATH with: path C:\Perl\site\bin;%PATH% Checking if your kit is complete... Looks good Writing Makefile for NewModule C:\NewModule>nmake Microso...

by liuyifang3000 - Perl - 2010-12-15 21:16:47 阅读(2834) 回复(2)

本帖最后由 hp_truth 于 2010-09-10 14:26 编辑 cpan命令好像是用Net::FTP来获取下载地址的,但是我的ftp端口被禁了,所以不能用cpan命令来安装了,不过http端口可以用,以前都是一个一个下载安装,最近觉得有必要自己写一个自动安装的脚本。 到目前为止还比较好使,大家感兴趣的可以试一下:))[code] #!/usr/local/bin/perl5 use warnings; use strict; use WWW::Mechanize; use HTML::TreeBuilder; use HTML::Query 'query';...

by hp_truth - Perl - 2010-09-10 14:07:26 阅读(2252) 回复(4)