错误信息

[root@dowhere openssl-3.0.3]# ./config --prefix=/usr/ --openssldir=/usr/ shared
Can't locate IPC/Cmd.pm in @INC (@INC contains: /root/openssl-3.0.3/util/perl
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /root/openssl-
3.0.3/external/perl/Text-Template-1.56/lib) at /root/openssl-
3.0.3/util/perl/OpenSSL/config.pm line 18.
BEGIN failed--compilation aborted at /root/openssl-
3.0.3/util/perl/OpenSSL/config.pm line 18.
Compilation failed in require at /root/openssl-3.0.3/Configure line 23.
BEGIN failed--compilation aborted at /root/openssl-3.0.3/Configure line 23.
...

解决方案

1.安装perl-CPAN

$ sudo yum install -y perl-CPAN
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cloud.aliyuncs.com
* extras: mirrors.cloud.aliyuncs.com
* updates: mirrors.cloud.aliyuncs.com
Resolving Dependencies
--> Running transaction check
---> Package perl-CPAN.noarch 0:1.9800-299.el7_9 will be installed
--> Processing Dependency: perl(local::lib) for package: perl-CPAN-1.9800-
299.el7_9.noarch
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: perl-CPAN-
1.9800-299.el7_9.noarch
--> Processing Dependency: perl(Digest::SHA) for package: perl-CPAN-1.9800-
299.el7_9.noarch
--> Running transaction check
---> Package perl-Digest-SHA.x86_64 1:5.85-4.el7 will be installed
--> Processing Dependency: perl(Digest::base) for package: 1:perl-Digest-SHA-
5.85-4.el7.x86_64
---> Package perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7 will be installed
--> Processing Dependency: perl(Test::Harness) for package: perl-ExtUtils-
MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Packlist) for package: perl-ExtUtils-
MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Manifest) for package: perl-ExtUtils-
MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Installed) for package: perl-ExtUtils-
MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Install) for package: perl-ExtUtils-
MakeMaker-6.68-3.el7.noarch
---> Package perl-local-lib.noarch 0:1.008010-4.el7 will be installed
--> Running transaction check
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
---> Package perl-ExtUtils-Install.noarch 0:1.58-299.el7_9 will be installed
--> Processing Dependency: perl-devel for package: perl-ExtUtils-Install-1.58-
299.el7_9.noarch
---> Package perl-ExtUtils-Manifest.noarch 0:1.61-244.el7 will be installed
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
--> Running transaction check
---> Package perl-devel.x86_64 4:5.16.3-299.el7_9 will be installed
--> Processing Dependency: systemtap-sdt-devel for package: 4:perl-devel-5.16.3-
299.el7_9.x86_64
--> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-
5.16.3-299.el7_9.x86_64
--> Processing Dependency: libdb-devel for package: 4:perl-devel-5.16.3-
299.el7_9.x86_64
--> Processing Dependency: gdbm-devel for package: 4:perl-devel-5.16.3-
299.el7_9.x86_64
--> Running transaction check
---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-25.el7 will be installed
---> Package perl-ExtUtils-ParseXS.noarch 1:3.18-3.el7 will be installed
---> Package systemtap-sdt-devel.x86_64 0:4.0-13.el7 will be installed
--> Processing Dependency: pyparsing for package: systemtap-sdt-devel-4.0-
13.el7.x86_64
--> Running transaction check
---> Package pyparsing.noarch 0:1.5.6-9.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
=================================================================
Package                   Arch            Version 
              Repository          Size
================================================================================
=================================================================
Installing:
perl-CPAN                  noarch           1.9800-
299.el7_9            updates           293 k
Installing for dependencies:
gdbm-devel                 x86_64           1.10-
8.el7               base             47 k
libdb-devel                 x86_64           5.3.21-
25.el7             base             39 k
perl-Digest                 noarch           1.17-
245.el7              base             23 k
perl-Digest-SHA               x86_64           1:5.85-
4.el7              base             58 k
perl-ExtUtils-Install            noarch           1.58-
299.el7_9             updates           75 k
perl-ExtUtils-MakeMaker           noarch           6.68-
3.el7               base            275 k
perl-ExtUtils-Manifest           noarch           1.61-
244.el7              base             31 k
perl-ExtUtils-ParseXS            noarch           1:3.18-
3.el7              base             77 k
perl-Test-Harness              noarch           3.28-
3.el7               base            302 k
perl-devel                 x86_64           4:5.16.3-
299.el7_9           updates           454 k
perl-local-lib               noarch           1.008010-
4.el7             base             64 k
pyparsing                  noarch           1.5.6-
9.el7              base             94 k
systemtap-sdt-devel             x86_64           4.0-
13.el7               base             76 k
Transaction Summary
================================================================================
=================================================================
Install 1 Package (+13 Dependent packages)
Total download size: 1.9 M
Installed size: 5.0 M
Downloading packages:
(1/14): gdbm-devel-1.10-8.el7.x86_64.rpm                    
                    | 47 kB 00:00:00  
(2/14): libdb-devel-5.3.21-25.el7.x86_64.rpm                  
                    | 39 kB 00:00:00  
(3/14): perl-Digest-1.17-245.el7.noarch.rpm                   
                    | 23 kB 00:00:00  
(4/14): perl-Digest-SHA-5.85-4.el7.x86_64.rpm                  
                    | 58 kB 00:00:00  
(5/14): perl-CPAN-1.9800-299.el7_9.noarch.rpm                  
                    | 293 kB 00:00:00  
(6/14): perl-ExtUtils-Manifest-1.61-244.el7.noarch.rpm             
                    | 31 kB 00:00:00  
(7/14): perl-ExtUtils-ParseXS-3.18-3.el7.noarch.rpm               
                    | 77 kB 00:00:00  
(8/14): perl-Test-Harness-3.28-3.el7.noarch.rpm                 
                    | 302 kB 00:00:00  
(9/14): perl-ExtUtils-Install-1.58-299.el7_9.noarch.rpm             
                    | 75 kB 00:00:00  
(10/14): perl-ExtUtils-MakeMaker-6.68-3.el7.noarch.rpm             
                    | 275 kB 00:00:00  
(11/14): pyparsing-1.5.6-9.el7.noarch.rpm                    
                    | 94 kB 00:00:00  
(12/14): systemtap-sdt-devel-4.0-13.el7.x86_64.rpm               
                    | 76 kB 00:00:00  
(13/14): perl-devel-5.16.3-299.el7_9.x86_64.rpm                 
                    | 454 kB 00:00:00  
(14/14): perl-local-lib-1.008010-4.el7.noarch.rpm                
                    | 64 kB 00:00:00  
---------------------------------------------------------------------------------
----------------------------------------------------------------
Total                                      
               3.9 MB/s | 1.9 MB 00:00:00  
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : gdbm-devel-1.10-8.el7.x86_64                   
                             1/14
Installing : pyparsing-1.5.6-9.el7.noarch                   
                             2/14
Installing : systemtap-sdt-devel-4.0-13.el7.x86_64              
                             3/14
Installing : perl-Digest-1.17-245.el7.noarch                 
                             4/14
Installing : 1:perl-Digest-SHA-5.85-4.el7.x86_64               
                             5/14
Installing : perl-ExtUtils-Manifest-1.61-244.el7.noarch            
                             6/14
Installing : libdb-devel-5.3.21-25.el7.x86_64                 
                             7/14
Installing : perl-Test-Harness-3.28-3.el7.noarch               
                             8/14
Installing : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch            
                             9/14
Installing : perl-ExtUtils-Install-1.58-299.el7_9.noarch           
                             10/14
Installing : 4:perl-devel-5.16.3-299.el7_9.x86_64               
                            11/14
Installing : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch            
                             12/14
Installing : perl-local-lib-1.008010-4.el7.noarch               
                            13/14
Installing : perl-CPAN-1.9800-299.el7_9.noarch                
                             14/14
Verifying : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch            
                             1/14
Verifying : perl-local-lib-1.008010-4.el7.noarch               
                             2/14
Verifying : perl-CPAN-1.9800-299.el7_9.noarch                
                             3/14
Verifying : perl-Test-Harness-3.28-3.el7.noarch               
                             4/14
Verifying : 1:perl-Digest-SHA-5.85-4.el7.x86_64               
                             5/14
Verifying : libdb-devel-5.3.21-25.el7.x86_64                 
                             6/14
Verifying : perl-ExtUtils-Install-1.58-299.el7_9.noarch           
                             7/14
Verifying : perl-ExtUtils-Manifest-1.61-244.el7.noarch            
                             8/14
Verifying : systemtap-sdt-devel-4.0-13.el7.x86_64              
                             9/14
Verifying : perl-Digest-1.17-245.el7.noarch                 
                             10/14
Verifying : pyparsing-1.5.6-9.el7.noarch                   
                            11/14
Verifying : gdbm-devel-1.10-8.el7.x86_64                   
                            12/14
Verifying : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch            
                             13/14
Verifying : 4:perl-devel-5.16.3-299.el7_9.x86_64               
                            14/14
Installed:
perl-CPAN.noarch 0:1.9800-299.el7_9                      
                               
Dependency Installed:
gdbm-devel.x86_64 0:1.10-8.el7         libdb-devel.x86_64 0:5.3.21-
25.el7        perl-Digest.noarch 0:1.17-245.el7      
perl-Digest-SHA.x86_64 1:5.85-4.el7       perl-ExtUtils-Install.noarch
0:1.58-299.el7_9  perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7 
perl-ExtUtils-Manifest.noarch 0:1.61-244.el7  perl-ExtUtils-ParseXS.noarch
1:3.18-3.el7    perl-Test-Harness.noarch 0:3.28-3.el7    
perl-devel.x86_64 4:5.16.3-299.el7_9      perl-local-lib.noarch
0:1.008010-4.el7      pyparsing.noarch 0:1.5.6-9.el7        
systemtap-sdt-devel.x86_64 0:4.0-13.el7    
Complete!

2.进入CPAN的shell模式

首次进入需要配置shell,按照提示操作即可,我这里是一路回车。

$ perl -MCPAN -e shell
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes]
<install_help>
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
Autoconfigured everything but 'urllist'.
Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.
Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Trying to fetch a mirror list from the Internet
Fetching with HTTP::Tiny:
http://www.perl.org/CPAN/MIRRORED.BY
Looking for CPAN mirrors near you (please be patient)
.. done!
New urllist
http://www.cpan.org/
Autoconfiguration complete.
Attempting to bootstrap local::lib...
Writing /root/.cpan/CPAN/MyConfig.pm for bootstrap...
commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Tue, 21 Jun 2022 00:17:02 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.34) available.
[Currently running version is v1.9800]
You might want to try
 install CPAN
 reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.

..............................................................DONE
Fetching with HTTP::Tiny:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running make for H/HA/HAARG/local-lib-2.000029.tar.gz
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/H/HA/HAARG/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz
ok
CPAN.pm: Building H/HA/HAARG/local-lib-2.000029.tar.gz
Attempting to create directory /root/perl5
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 21 Jun 2022 00:17:02 GMT
Running install for module 'ExtUtils::MakeMaker'
Running make for B/BI/BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
Fetching with HTTP::Tiny:
http://www.cpan.org/authors/id/B/BI/BINGOS/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-
7.64.tar.gz ok
CPAN.pm: Building B/BI/BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
Using included version of Parse::CPAN::Meta (1.4414) because it is not already
installed.
Using included version of ExtUtils::Manifest (1.70) as it is newer than the
installed version (1.61).
Using included version of CPAN::Meta (2.143240) because it is not already
installed.
Using included version of CPAN::Meta::YAML (0.011) because it is not already
installed.
Using included version of CPAN::Meta::Requirements (2.131) because it is not
already installed.
Using included version of ExtUtils::Install (2.06) as it is newer than the
installed version (1.58).
Using included version of JSON::PP (2.27203) because it is not already
installed.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
Could not read metadata file. Falling back to other methods to determine
prerequisites
cp inc/ExtUtils/Manifest.pm blib/lib/ExtUtils/Manifest.pm
cp lib/ExtUtils/MM_VOS.pm blib/lib/ExtUtils/MM_VOS.pm
cp lib/ExtUtils/MM.pm blib/lib/ExtUtils/MM.pm
cp inc/JSON/PP.pm blib/lib/JSON/PP.pm
cp lib/ExtUtils/MM_UWIN.pm blib/lib/ExtUtils/MM_UWIN.pm
cp lib/ExtUtils/MM_DOS.pm blib/lib/ExtUtils/MM_DOS.pm
cp lib/ExtUtils/MM_Cygwin.pm blib/lib/ExtUtils/MM_Cygwin.pm
cp lib/ExtUtils/MM_Win95.pm blib/lib/ExtUtils/MM_Win95.pm
cp lib/ExtUtils/Liblist.pm blib/lib/ExtUtils/Liblist.pm
cp lib/ExtUtils/MM_Darwin.pm blib/lib/ExtUtils/MM_Darwin.pm
cp lib/ExtUtils/MM_AIX.pm blib/lib/ExtUtils/MM_AIX.pm
cp inc/CPAN/Meta/Requirements.pm blib/lib/CPAN/Meta/Requirements.pm
cp lib/ExtUtils/Liblist/Kid.pm blib/lib/ExtUtils/Liblist/Kid.pm
cp inc/ExtUtils/MANIFEST.SKIP blib/lib/ExtUtils/MANIFEST.SKIP
cp lib/ExtUtils/MM_NW5.pm blib/lib/ExtUtils/MM_NW5.pm
cp lib/ExtUtils/MM_OS390.pm blib/lib/ExtUtils/MM_OS390.pm
cp lib/ExtUtils/MakeMaker.pm blib/lib/ExtUtils/MakeMaker.pm
cp lib/ExtUtils/MM_OS2.pm blib/lib/ExtUtils/MM_OS2.pm
cp inc/CPAN/Meta/Feature.pm blib/lib/CPAN/Meta/Feature.pm
cp lib/ExtUtils/Command.pm blib/lib/ExtUtils/Command.pm
cp lib/ExtUtils/MM_Unix.pm blib/lib/ExtUtils/MM_Unix.pm
cp lib/ExtUtils/MM_Win32.pm blib/lib/ExtUtils/MM_Win32.pm
cp inc/ExtUtils/Installed.pm blib/lib/ExtUtils/Installed.pm
cp inc/JSON/PP/Boolean.pm blib/lib/JSON/PP/Boolean.pm
cp inc/CPAN/Meta/Spec.pm blib/lib/CPAN/Meta/Spec.pm
cp inc/CPAN/Meta/History.pm blib/lib/CPAN/Meta/History.pm
cp lib/ExtUtils/MY.pm blib/lib/ExtUtils/MY.pm
cp inc/ExtUtils/Packlist.pm blib/lib/ExtUtils/Packlist.pm
cp lib/ExtUtils/MM_MacOS.pm blib/lib/ExtUtils/MM_MacOS.pm
cp lib/ExtUtils/MM_VMS.pm blib/lib/ExtUtils/MM_VMS.pm
cp inc/CPAN/Meta/Merge.pm blib/lib/CPAN/Meta/Merge.pm
cp lib/ExtUtils/MM_BeOS.pm blib/lib/ExtUtils/MM_BeOS.pm
cp lib/ExtUtils/MM_QNX.pm blib/lib/ExtUtils/MM_QNX.pm
cp inc/CPAN/Meta/YAML.pm blib/lib/CPAN/Meta/YAML.pm
cp inc/CPAN/Meta/Converter.pm blib/lib/CPAN/Meta/Converter.pm
cp inc/ExtUtils/Install.pm blib/lib/ExtUtils/Install.pm
cp lib/ExtUtils/Command/MM.pm blib/lib/ExtUtils/Command/MM.pm
cp lib/ExtUtils/MakeMaker/Config.pm blib/lib/ExtUtils/MakeMaker/Config.pm
cp inc/CPAN/Meta.pm blib/lib/CPAN/Meta.pm
cp inc/CPAN/Meta/Prereqs.pm blib/lib/CPAN/Meta/Prereqs.pm
cp inc/Parse/CPAN/Meta.pm blib/lib/Parse/CPAN/Meta.pm
cp inc/CPAN/Meta/Validator.pm blib/lib/CPAN/Meta/Validator.pm
cp lib/ExtUtils/MM_Any.pm blib/lib/ExtUtils/MM_Any.pm
cp lib/ExtUtils/MakeMaker/Tutorial.pod blib/lib/ExtUtils/MakeMaker/Tutorial.pod
cp lib/ExtUtils/Mkbootstrap.pm blib/lib/ExtUtils/Mkbootstrap.pm
cp lib/ExtUtils/MakeMaker/FAQ.pod blib/lib/ExtUtils/MakeMaker/FAQ.pod
cp lib/ExtUtils/Mksymlists.pm blib/lib/ExtUtils/Mksymlists.pm
cp lib/ExtUtils/MakeMaker/version/regex.pm
blib/lib/ExtUtils/MakeMaker/version/regex.pm
cp lib/ExtUtils/testlib.pm blib/lib/ExtUtils/testlib.pm
cp lib/ExtUtils/MakeMaker/Locale.pm blib/lib/ExtUtils/MakeMaker/Locale.pm
cp lib/ExtUtils/MakeMaker/version.pm blib/lib/ExtUtils/MakeMaker/version.pm
cp lib/ExtUtils/MakeMaker/version/vpp.pm
blib/lib/ExtUtils/MakeMaker/version/vpp.pm
cp bin/instmodsh blib/script/instmodsh
"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" -MExtUtils::MY -e 'MY->fixin(shift)' -
- blib/script/instmodsh
Manifying 1 pod document
Manifying 38 pod documents
Manifying 9 pod documents
BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" "-
MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches;
test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile.t ............. ok  
t/01perl_bugs.t ........... ok 
t/02-xsdynamic.t .......... skipped: ExtUtils::CBuilder not installed or couldn't
find a compiler
t/03-xsstatic.t ........... skipped: ExtUtils::CBuilder not installed or couldn't
find a compiler
t/04-xs-rpath-darwin.t .... Can't locate Test/More.pm in @INC (@INC contains:
/root/.cpan/build/ExtUtils-MakeMaker-7.64-JdAPKW/blib/lib
/root/.cpan/build/ExtUtils-MakeMaker-7.64-JdAPKW/blib/arch blib/arch blib/lib
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5 /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at t/04-xs-rpath-darwin.t line 16.
BEGIN failed--compilation aborted at t/04-xs-rpath-darwin.t line 16.
t/04-xs-rpath-darwin.t .... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/arch_check.t ............ ok 
t/backwards.t ............. ok 
t/basic.t ................. ok   
t/build_man.t ............. ok  
t/cd.t .................... ok 
t/config.t ................ ok 
t/cp.t .................... ok 
t/dir_target.t ............ ok 
t/echo.t .................. ok  
t/eu_command.t ............ ok  
t/FIRST_MAKEFILE.t ........ ok 
t/fix_libs.t .............. ok 
t/fixin.t ................. ok  
t/hints.t ................. ok 
t/INST.t .................. ok  
t/INST_PREFIX.t ........... ok  
t/INSTALL_BASE.t .......... ok  
t/installed_file.t ........ ok 
t/is_of_type.t ............ ok  
t/Liblist.t ............... ok 
t/Liblist_Kid.t ........... Can't locate Test/More.pm in @INC (@INC contains:
/root/.cpan/build/ExtUtils-MakeMaker-7.64-JdAPKW/blib/lib
/root/.cpan/build/ExtUtils-MakeMaker-7.64-JdAPKW/blib/arch blib/arch blib/lib
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5 /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at t/Liblist_Kid.t line 3.
BEGIN failed--compilation aborted at t/Liblist_Kid.t line 3.
t/Liblist_Kid.t ........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/make.t .................. ok 
t/MakeMaker_Parameters.t .. ok 
t/maketext_filter.t ....... ok 
t/meta_convert.t .......... ok  
t/metafile_data.t ......... ok  
t/metafile_file.t ......... ok  
t/min_perl_version.t ...... ok  
t/miniperl.t .............. skipped: miniperl test only necessary for the perl
core
t/Mkbootstrap.t ........... ok  
t/MM_Any.t ................ ok 
t/MM_BeOS.t ............... skipped: This is not BeOS
t/MM_Cygwin.t ............. skipped: This is not cygwin
t/MM_NW5.t ................ skipped: This is not NW5
t/MM_OS2.t ................ skipped: This is not OS/2
t/MM_Unix.t ............... ok   
t/MM_VMS.t ................ skipped: This is not VMS
t/MM_Win32.t .............. skipped: This is not Win32
t/oneliner.t .............. ok  
t/os_unsupported.t ........ ok 
t/parse_abstract.t ........ ok  
t/parse_version.t ......... ok   
t/PL_FILES.t .............. ok  
t/pm.t .................... ok 
t/pm_to_blib.t ............ ok  
t/pod2man.t ............... ok 
t/postamble.t ............. ok 
t/prefixify.t ............. ok 
t/prereq.t ................ ok  
t/prereq_print.t .......... ok  
t/problems.t .............. ok 
t/prompt.t ................ ok  
t/recurs.t ................ ok  
t/revision.t .............. ok 
t/several_authors.t ....... ok  
t/split_command.t ......... ok 
t/test_boilerplate.t ...... ok 
t/testlib.t ............... ok 
t/unicode.t ............... ok 
t/VERSION_FROM.t .......... ok 
t/vstrings.t .............. ok  
t/WriteEmptyMakefile.t .... ok 
t/writemakefile_args.t .... ok  
Test Summary Report
-------------------
t/04-xs-rpath-darwin.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/Liblist_Kid.t     (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=68, Tests=1302, 42 wallclock secs ( 0.34 usr 0.12 sys + 26.36 cusr 6.98
csys = 33.80 CPU)
Result: FAIL
Failed 2/68 test programs. 0/1302 subtests failed.
make: *** [test_dynamic] Error 255
BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
Running make install
Manifying 1 pod document
Manifying 38 pod documents
Manifying 9 pod documents
Installing /root/perl5/lib/perl5/ExtUtils/Mksymlists.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_VOS.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_NW5.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Win32.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_DOS.pm
Installing /root/perl5/lib/perl5/ExtUtils/testlib.pm
Installing /root/perl5/lib/perl5/ExtUtils/MANIFEST.SKIP
Installing /root/perl5/lib/perl5/ExtUtils/Mkbootstrap.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_VMS.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Unix.pm
Installing /root/perl5/lib/perl5/ExtUtils/Command.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_MacOS.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_OS390.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_BeOS.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM.pm
Installing /root/perl5/lib/perl5/ExtUtils/Liblist.pm
Installing /root/perl5/lib/perl5/ExtUtils/MY.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Win95.pm
Installing /root/perl5/lib/perl5/ExtUtils/Packlist.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_QNX.pm
Installing /root/perl5/lib/perl5/ExtUtils/Install.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Any.pm
Installing /root/perl5/lib/perl5/ExtUtils/Installed.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_AIX.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_UWIN.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Cygwin.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_OS2.pm
Installing /root/perl5/lib/perl5/ExtUtils/MM_Darwin.pm
Installing /root/perl5/lib/perl5/ExtUtils/Manifest.pm
Installing /root/perl5/lib/perl5/ExtUtils/Liblist/Kid.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/version.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/Locale.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/Config.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/FAQ.pod
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/Tutorial.pod
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/version/vpp.pm
Installing /root/perl5/lib/perl5/ExtUtils/MakeMaker/version/regex.pm
Installing /root/perl5/lib/perl5/ExtUtils/Command/MM.pm
Installing /root/perl5/lib/perl5/Parse/CPAN/Meta.pm
Installing /root/perl5/lib/perl5/JSON/PP.pm
Installing /root/perl5/lib/perl5/JSON/PP/Boolean.pm
Installing /root/perl5/lib/perl5/CPAN/Meta.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Merge.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Spec.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/YAML.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/History.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Feature.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Converter.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Requirements.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Validator.pm
Installing /root/perl5/lib/perl5/CPAN/Meta/Prereqs.pm
Installing /root/perl5/man/man1/instmodsh.1
Installing /root/perl5/man/man3/ExtUtils::MakeMaker::Tutorial.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Feature.3pm
Installing /root/perl5/man/man3/ExtUtils::Packlist.3pm
Installing /root/perl5/man/man3/ExtUtils::MM.3pm
Installing /root/perl5/man/man3/CPAN::Meta::History.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Darwin.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Converter.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_DOS.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_BeOS.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_VOS.3pm
Installing /root/perl5/man/man3/ExtUtils::MakeMaker::Config.3pm
Installing /root/perl5/man/man3/ExtUtils::MakeMaker.3pm
Installing /root/perl5/man/man3/JSON::PP::Boolean.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Unix.3pm
Installing /root/perl5/man/man3/CPAN::Meta.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Validator.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_AIX.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Win95.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Prereqs.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_OS2.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_UWIN.3pm
Installing /root/perl5/man/man3/ExtUtils::Command::MM.3pm
Installing /root/perl5/man/man3/ExtUtils::MakeMaker::Locale.3pm
Installing /root/perl5/man/man3/ExtUtils::Liblist.3pm
Installing /root/perl5/man/man3/ExtUtils::MY.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_VMS.3pm
Installing /root/perl5/man/man3/ExtUtils::Installed.3pm
Installing /root/perl5/man/man3/ExtUtils::Command.3pm
Installing /root/perl5/man/man3/ExtUtils::Install.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_OS390.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Any.3pm
Installing /root/perl5/man/man3/CPAN::Meta::YAML.3pm
Installing /root/perl5/man/man3/Parse::CPAN::Meta.3pm
Installing /root/perl5/man/man3/ExtUtils::Mkbootstrap.3pm
Installing /root/perl5/man/man3/JSON::PP.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_NW5.3pm
Installing /root/perl5/man/man3/ExtUtils::Mksymlists.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Requirements.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Win32.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_QNX.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Spec.3pm
Installing /root/perl5/man/man3/ExtUtils::testlib.3pm
Installing /root/perl5/man/man3/CPAN::Meta::Merge.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_Cygwin.3pm
Installing /root/perl5/man/man3/ExtUtils::Manifest.3pm
Installing /root/perl5/man/man3/ExtUtils::MakeMaker::FAQ.3pm
Installing /root/perl5/man/man3/ExtUtils::MM_MacOS.3pm
Installing /root/perl5/bin/instmodsh
Appending installation info to /root/perl5/lib/perl5/x86_64-linux-thread-
multi/perllocal.pod
BINGOS/ExtUtils-MakeMaker-7.64.tar.gz
/usr/bin/make install -- OK
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More 0 not found.
Generating a Unix-style Makefile
Writing Makefile for local::lib
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
----   HAARG/local-lib-2.000029.tar.gz   ----
 Test::More [build_requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Tried to deactivate inactive local::lib '/root/perl5'
local::lib is installed. You must now add the following environment variables
to your shell configuration files (or registry, if you are on Windows) and
then restart your command line shell and CPAN before installing modules:
Use of uninitialized value $deactivating in numeric eq (==) at
/usr/share/perl5/vendor_perl/local/lib.pm line 381.
Use of uninitialized value $deactivating in numeric eq (==) at
/usr/share/perl5/vendor_perl/local/lib.pm line 383.
Use of uninitialized value $options{"interpolate"} in numeric eq (==) at
/usr/share/perl5/vendor_perl/local/lib.pm line 424.
Use of uninitialized value $options{"interpolate"} in numeric eq (==) at
/usr/share/perl5/vendor_perl/local/lib.pm line 424.
Use of uninitialized value $options{"interpolate"} in numeric eq (==) at
/usr/share/perl5/vendor_perl/local/lib.pm line 424.
export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5";
export PERL_MB_OPT="--install_base /root/perl5";
export PERL_MM_OPT="INSTALL_BASE=/root/perl5";
export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB";
export PATH="/root/perl5/bin:$PATH";
Would you like me to append that to /root/.bashrc now? [yes]
commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
You can re-run configuration any time with 'o conf init' in the CPAN shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.

cpan[1]>

3.在shell中安装缺少的模块

cpan[1]> install IPC/Cmd.pm

...

CPAN.pm: Building B/BI/BINGOS/IPC-Cmd-1.04.tar.gz
cp lib/IPC/Cmd.pm blib/lib/IPC/Cmd.pm
Manifying blib/man3/IPC::Cmd.3pm
BINGOS/IPC-Cmd-1.04.tar.gz
/usr/bin/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/01_IPC-Cmd.t ...... 1/? # IPC::Run: 0  IPC::Open3: 1.12
t/01_IPC-Cmd.t ...... ok  
t/02_Interactive.t .. skipped: No interactive tests from harness
t/03_run-forked.t ... ok  
All tests successful.
Files=3, Tests=581, 8 wallclock secs ( 0.27 usr 0.04 sys + 1.85 cusr 1.60
csys = 3.76 CPU)
Result: PASS
BINGOS/IPC-Cmd-1.04.tar.gz
/usr/bin/make test -- OK
Running make install
Installing /usr/local/share/perl5/IPC/Cmd.pm
Installing /usr/local/share/man/man3/IPC::Cmd.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
BINGOS/IPC-Cmd-1.04.tar.gz
/usr/bin/make install -- OK

安装成功后,重新编译OpenSSL即可。

GitHub 加速计划 / ope / openssl
25.13 K
9.99 K
下载
传输层安全性/安全套接层及其加密库
最近提交(Master分支:1 个月前 )
fd39d1c8 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/25095) 2 个月前
ae87c488 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/25095) 2 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐