debian下安装Mail::Sender报错!
时间:2010-09-16
来源:互联网
RT!
debian 5.0.5
以前安装过
aptitude install -y libemail-sender-perl
但是
perl -e 'use Mail::Sender'报错!!
Can't locate Mail/Sender.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
运行perl -MCPAN -e 'install Mail::Sender'
试图再次安装。
结果还是错误
*********************************************************************
The defaults were saved into blib/lib/Mail/Sender.config
Please review the code in there if 'make test' or
every 'use Mail::Sender;' command fails. JENDA/Mail-Sender-0.8.16.tar.gz
make -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ........... 1/1 # Testing Mail::Sender 0.8.16, Perl 5.010001, /usr/bin/perl
t/00-load.t ........... ok
t/01-create-object.t .. 1/5
# Failed test 'created the object with default settings'
# at t/01-create-object.t line 12.
# Error: The SMTP server was not found
# Looks like you planned 5 tests but ran 2.
# Looks like you failed 1 test of 2 run.
t/01-create-object.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 4/5 subtests
Test Summary Report
-------------------
t/01-create-object.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=2, Tests=3, 1 wallclock secs ( 0.01 usr 0.07 sys + 0.09 cusr 0.16 csys = 0.33 CPU)
Result: FAIL
Failed 1/2 test programs. 1/3 subtests failed.
make: *** [test_dynamic] 错误 1
JENDA/Mail-Sender-0.8.16.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JENDA/Mail-Sender-0.8.16.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
make test had returned bad status, won't install without force
debian 5.0.5
以前安装过
aptitude install -y libemail-sender-perl
但是
perl -e 'use Mail::Sender'报错!!
Can't locate Mail/Sender.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
运行perl -MCPAN -e 'install Mail::Sender'
试图再次安装。
结果还是错误
*********************************************************************
The defaults were saved into blib/lib/Mail/Sender.config
Please review the code in there if 'make test' or
every 'use Mail::Sender;' command fails. JENDA/Mail-Sender-0.8.16.tar.gz
make -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ........... 1/1 # Testing Mail::Sender 0.8.16, Perl 5.010001, /usr/bin/perl
t/00-load.t ........... ok
t/01-create-object.t .. 1/5
# Failed test 'created the object with default settings'
# at t/01-create-object.t line 12.
# Error: The SMTP server was not found
# Looks like you planned 5 tests but ran 2.
# Looks like you failed 1 test of 2 run.
t/01-create-object.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 4/5 subtests
Test Summary Report
-------------------
t/01-create-object.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=2, Tests=3, 1 wallclock secs ( 0.01 usr 0.07 sys + 0.09 cusr 0.16 csys = 0.33 CPU)
Result: FAIL
Failed 1/2 test programs. 1/3 subtests failed.
make: *** [test_dynamic] 错误 1
JENDA/Mail-Sender-0.8.16.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JENDA/Mail-Sender-0.8.16.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
make test had returned bad status, won't install without force
作者: laohuanggua 发布时间: 2010-09-16
自己动手。丰衣足食。
aptitude install libyaml-perl
而后
perl -MCPAN -e 'install Mail::Sender'
就木有问题了!!!
################# Default new object settings for Mail::Sender #################
Specify defaults for Mail::Sender? (y/N)
JENDA/Mail-Sender-0.8.16.tar.gz
make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ........... 1/1 # Testing Mail::Sender 0.8.16, Perl 5.010001, /usr/bin/perl
t/00-load.t ........... ok
t/01-create-object.t .. ok
All tests successful.
Files=2, Tests=6, 0 wallclock secs ( 0.01 usr 0.04 sys + 0.10 cusr 0.12 csys = 0.27 CPU)
Result: PASS
JENDA/Mail-Sender-0.8.16.tar.gz
make test -- OK
Running make install
Prepending /root/.cpan/build/Mail-Sender-0.8.16-TGLf0L/blib/arch /root/.cpan/build/Mail-Sender-0.8.16-TGLf0L/blib/lib to PERL5LIB for 'install'
Manifying blib/man3/Mail::Sender.3pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender.pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender/CType/Win32.pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender/CType/Ext.pm
Installing /usr/local/man/man3/Mail::Sender.3pm
Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod
JENDA/Mail-Sender-0.8.16.tar.gz
make install -- OK
debianlwp:~#
debianlwp:~# perl -e 'use Mail::Sender'
aptitude install libyaml-perl
而后
perl -MCPAN -e 'install Mail::Sender'
就木有问题了!!!
################# Default new object settings for Mail::Sender #################
Specify defaults for Mail::Sender? (y/N)
JENDA/Mail-Sender-0.8.16.tar.gz
make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ........... 1/1 # Testing Mail::Sender 0.8.16, Perl 5.010001, /usr/bin/perl
t/00-load.t ........... ok
t/01-create-object.t .. ok
All tests successful.
Files=2, Tests=6, 0 wallclock secs ( 0.01 usr 0.04 sys + 0.10 cusr 0.12 csys = 0.27 CPU)
Result: PASS
JENDA/Mail-Sender-0.8.16.tar.gz
make test -- OK
Running make install
Prepending /root/.cpan/build/Mail-Sender-0.8.16-TGLf0L/blib/arch /root/.cpan/build/Mail-Sender-0.8.16-TGLf0L/blib/lib to PERL5LIB for 'install'
Manifying blib/man3/Mail::Sender.3pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender.pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender/CType/Win32.pm
Installing /usr/local/share/perl/5.10.1/Mail/Sender/CType/Ext.pm
Installing /usr/local/man/man3/Mail::Sender.3pm
Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod
JENDA/Mail-Sender-0.8.16.tar.gz
make install -- OK
debianlwp:~#
debianlwp:~# perl -e 'use Mail::Sender'
作者: laohuanggua 发布时间: 2010-09-16
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28