当前位置:   article > 正文

openSSL1.1.1编译错误 Can‘t locate Win32/Console.pm in @INC_using os-specific seed configuration

using os-specific seed configuration

编译openSSL1.1.1中执行命令:

perl Configure VC-WIN32 no-asm no-tests --prefix=“E:\OpenSource\libCurl\openssl-1.1.1-stable-SNAP-20220521\compile”

出现错误:

Using os-specific seed configuration
Can’t locate Win32/Console.pm in @INC (you may need to install the Win32::Console module) (@INC contains: E:/OpenSource/libCurl/openssl-1.1.1-stable-SNAP-20220521/openssl-1.1.1-stable-SNAP-20220521/util/perl C:/Perl64/site/lib C:/Perl64/lib) at C:/Perl64/site/lib/ActivePerl/Config.pm line 400.
Compilation failed in require at C:/Perl64/site/lib/ExtUtils/MakeMaker.pm line 10.
BEGIN failed–compilation aborted at C:/Perl64/site/lib/ExtUtils/MakeMaker.pm line 10.
Compilation failed in require at C:/Perl64/site/lib/IPC/Cmd.pm line 235.

解决办法:
打开文件"C:\Perl64\site\lib\ActivePerl\Config.pm"
修改注释_warn内的内容,如下图所示:
在这里插入图片描述
再次编译得到如下结果:
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/198146
推荐阅读
相关标签
  

闽ICP备14008679号