安装Perl模块SVN::Notify报错:ERRORS/WARNINGS FOUND IN PREREQUISITES.

[root@localhost SVN-Notify-2.80]# tar xvf SVN-Notify-2.80.tar.gz 

[root@localhost SVN-Notify-2.80]# cd SVN-Notify-2.80

[root@localhost SVN-Notify-2.80]# perl Build.PL 

Checking prerequisites...
  recommends:
    *  Test::Pod (1.40) is installed, but we prefer to have 1.41
    *  Text::Trac is not installed


ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation


Run 'Build installdeps' to install missing prerequisites.


Creating new 'MYMETA.yml' with configuration results

Creating new 'Build' script for 'SVN-Notify' version '2.80'


解决方法非常简单,按照提示来就行了,执行:

[root@localhost SVN-Notify-2.80]# ./Build installdeps
信息如下,则表示安装依赖文件成功(我截取的只是部分信息):

t/00-load.t ............ ok   
t/all_pod_files.t ...... ok   
t/cut-outside-block.t .. ok   
t/good.t ............... ok   
t/item-ordering.t ...... ok   
t/load.t ............... ok   
t/missing-file.t ....... ok   
t/selftest.t ........... ok   
t/spaced-directives.t .. skipped: Not written yet
t/unknown-directive.t .. ok   
All tests successful.
Files=10, Tests=19,  1 wallclock secs ( 0.07 usr  0.02 sys +  0.59 cusr  0.07 csys =  0.75 CPU)
Result: PASS
  ETHER/Test-Pod-1.51.tar.gz
  /usr/bin/make test -- OK
Running make install
Prepending /root/.cpan/build/Test-Pod-1.51-QOe4Z5/blib/arch /root/.cpan/build/Test-Pod-1.51-QOe4Z5/blib/lib to PERL5LIB for 'install'
Installing /usr/local/share/perl5/Test/Pod.pm
Installing /usr/local/share/man/man3/Test::Pod.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
  ETHER/Test-Pod-1.51.tar.gz
  /usr/bin/make install  -- OK

再来编译安装:

[root@localhost SVN-Notify-2.80]# perl Build.PL 
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'SVN-Notify' version '2.80'

现在测试安装就可以了,如下:

[root@localhost SVN-Notify-2.80]# ./Build
Building SVN-Notify
[root@localhost SVN-Notify-2.80]# ./Build test
t/alt.t ............ ok     
t/base.t ........... ok       
t/errors.t ......... ok   
t/filter.t ......... ok       
t/html.t ........... ok       
t/htmlcolordiff.t .. ok       
t/options.t ........ ok     
t/pod-coverage.t ... ok   
t/pod.t ............ ok   
t/script.t ......... ok   
t/smtp.t ........... ok     
All tests successful.
Files=11, Tests=955,  9 wallclock secs ( 0.23 usr  0.05 sys +  7.98 cusr  2.09 csys = 10.35 CPU)
Result: PASS
[root@localhost SVN-Notify-2.80]# ./Build install
Building SVN-Notify
Installing /usr/local/share/man/man1/svnnotify.1
Installing /usr/local/share/perl5/SVN/Notify.pm
Installing /usr/local/share/perl5/SVN/Notify/HTML.pm
Installing /usr/local/share/perl5/SVN/Notify/Alternative.pm
Installing /usr/local/share/perl5/SVN/Notify/Filter.pm
Installing /usr/local/share/perl5/SVN/Notify/Filter/Trac.pm
Installing /usr/local/share/perl5/SVN/Notify/HTML/ColorDiff.pm
Installing /usr/local/share/man/man3/SVN::Notify::Filter.3pm
Installing /usr/local/share/man/man3/SVN::Notify.3pm
Installing /usr/local/share/man/man3/SVN::Notify::Alternative.3pm
Installing /usr/local/share/man/man3/SVN::Notify::HTML::ColorDiff.3pm
Installing /usr/local/share/man/man3/SVN::Notify::HTML.3pm
Installing /usr/local/share/man/man3/SVN::Notify::Filter::Trac.3pm
Installing /usr/local/bin/svnnotify
[root@localhost SVN-Notify-2.80]# 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值