第一个报错提示这个命令开始:
./configprefix=/usr/local
在这里插入图片描述

详细信息如下
Cant locate IPC/Cmd.pm in @INC (@INC contains: /home/smile/opensslopenssl-3.0.2/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 . /home/smile/opensslopenssl-3.0.2/external/perl/Text-Template-1.56/lib) at /home/smile/opensslopenssl-3.0.2/util/perl/OpenSSL/config.pm line 18.
BEGIN failedcompilation aborted at /home/smile/opensslopenssl-3.0.2/util/perl/OpenSSL/config.pm line 18.
Compilation failed in require at /home/smile/opensslopenssl-3.0.2/Configure line 23.
BEGIN failedcompilation aborted at /home/smile/openssl-openssl-3.0.2/Configure line 23.
显示缺失 IPC/Cmd.pm这个文件,下一步安装这个,先使用这个命令
yum instally perl-CPAN

好了,下一个报错信息如下显示无可安装镜像信息
Error downloading packages:
1:perl-Digest-SHA-5.85-4.el7.x86_64: [Errno 256] No more mirrors to try.
perl-ExtUtils-Install-1.58-299.el7_9.noarch: [Errno 256] No more mirrors to try.
1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch: [Errno 256] No more mirrors to try.
perl-Digest-1.17-245.el7.noarch: [Errno 256] No more mirrors to try.
libdbdevel-5.3.21-25.el7.x86_64: [Errno 256] No more mirrors to try.
perl-CPAN-1.9800-299.el7_9.noarch: [Errno 256] No more mirrors to try.
perl-locallib-1.008010-4.el7.noarch: [Errno 256] No more mirrors to try.
gdbmdevel-1.10-8.el7.x86_64: [Errno 256] No more mirrors to try.
perl-ExtUtils-MakeMaker-6.68-3.el7.noarch: [Errno 256] No more mirrors to try.
perl-ExtUtils-Manifest-1.61-244.el7.noarch: [Errno 256] No more mirrors to try.
systemtapsdt-devel-4.0-13.el7.x86_64: [Errno 256] No more mirrors to try.
4:perl-devel-5.16.3-299.el7_9.x86_64: [Errno 256] No more mirrors to try.

接下来解决这个问题
1、安装Perl环境

yum install perl*
这个命令基本上把perl的模块安装齐了。
yum install cpan
CPAN这个不用说了吧,大家都懂。
安装还是报错,安装包不能完全安装,暂时停这里了,还未找到解决方案找到了再来更新

原文地址:https://blog.csdn.net/m0_52766105/article/details/130827686

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_47010.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注