我安装了Perl Module Probe-Perl-0.k03,因为系统管理员给了我一个非常精简的Perl版本。我和其他人一起安装了它,但是当我去运行yum install(yum install perl-CPAN *)时,它仍然声明它们没有安装。它似乎指向我的perl的正确位置,即/ usr / bin / perl。可能有任何指导吗?
yum install提供的依赖项解析错误:
--> Finished Dependency Resolution
Error: Package: perl-CPAN-Reporter-1.2011-2.el7.noarch (epel)
Requires: perl(Probe::Perl)
Error: Package: perl-CPAN-Reporter-1.2011-2.el7.noarch (epel)
Requires: perl(Capture::Tiny)
Error: Package: perl-CPAN-Reporter-1.2011-2.el7.noarch (epel)
Requires: perl(File::HomeDir) >= 0.58
Error: Package: perl-CPAN-Reporter-1.2011-2.el7.noarch (epel)
Requires: perl(Config::Tiny) >= 2.08
安装了Perl软件包:
探针 - Perl的0.k03
安装步骤:
[root@sandbox-prod Probe-Perl-0.03]# pwd
/root/Probe-Perl-0.03
[root@sandbox-prod Probe-Perl-0.03]# perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for Probe::Perl
Writing MYMETA.yml and MYMETA.json
[root@sandbox-prod Probe-Perl-0.03]# make
Skip blib/lib/Probe/Perl.pm (unchanged)
Manifying 1 pod document
[root@sandbox-prod Probe-Perl-0.03]# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/author-critic.t .. skipped: these tests are for testing by the author
t/basic.t .......... ok
All tests successful.
Files=2, Tests=19, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.04 cusr 0.00 csys = 0.07 CPU)
Result: PASS
[root@sandbox-prod Probe-Perl-0.03]# make install
Manifying 1 pod document
Appending installation info to /usr/lib64/perl5/perllocal.pod