0
我想用cpan2dist安装一些perl模块。 Cpan2dist创建perl-modules的rpm。我想安装数据自卸车:使用cpan2dist安装模块blaims关于丢失模块虽然可用
cpan2dist --format CPANPLUS::Dist::SUSE --verbose --buildprereq Data-Dumper .
Data-Dumper needs Test::More, which is installed:
cpan2dist ...
...
[MSG] 'perl-Test-Simple' is already installed (for Test::More)
...
Perl itself confirms it:
vm58820-6:~ # perl -MTest::More -e 'print "$Test::More::VERSION\n"'
1.001003
但后来cpan2dist抱怨不满意的依赖:
error: Failed build dependencies:
perl(Test::More) >= 0.98 is needed by perl-Data-Dumper-2.151-0.x86_64
[ERROR] unsatisfied builddeps!
Cpan2dist似乎并不肯定,如果测试::更多的是安装或不。但如果它说Test :: More没有安装,为什么不安装依赖关系?选项--buildprereq应该这样做。
感谢, 贝恩德