惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
GbyAI
GbyAI
C
Check Point Blog
M
MIT News - Artificial intelligence
T
The Blog of Author Tim Ferriss
Jina AI
Jina AI
博客园 - 【当耐特】
U
Unit 42
月光博客
月光博客
腾讯CDC
Y
Y Combinator Blog
小众软件
小众软件
博客园_首页
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
The GitHub Blog
The GitHub Blog
博客园 - 聂微东
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
T
Tailwind CSS Blog

博客园 - 卡卡西村长

QT使用linuxdeployqt打包 统计vertica表的行数 基于QScintilla项目实现SQL编辑器 Vertica中的group_concat函数 查看mysql当前事务锁并kill vscode中文乱码问题及几种常见的解决方案 改善[Vertica] current ResultSet because its buffer(8192) is full的错误 通过 phantomjs抓取仁医在线的练习题 notepad++ 配置fasm汇编环境 springboot动态启用RabbitMQ消费Listener mysql日期字段分区索引 排查tomcat服务器CPU占用率过高的问题 FFMPEG把图片序列合成为视频 统计nginx日志中的ipv4和ipv6占比 vertica性能优化汇总 oracle unwrap解密工具 centos7上安装phantomjs并对页面截屏 如何用Java Socket实现一个简单的Redis客户端 cenos上通过yum安装mariadb
windows10上安装OpenSSL_1.1.1d_x64
卡卡西村长 · 2021-05-30 · via 博客园 - 卡卡西村长

下载并安装 NASM-2.15.05:

https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-installer-x64.exe

下载并安装 ActivePerl-5.28:
https://www.activestate.com/products/perl/downloads/thank-you/?dl=https://cli-msi.s3.amazonaws.com/ActivePerl-5.28.msi

下载并安装 VS2017:
https://visualstudio.microsoft.com/zh-hans/vs/community/
免费的Community版就可以了,现在都是下载一个很小的下载器,然后在线安装,时间有点长,把C++的项目勾上。

下载OpenSSL-1.1.1d:
https://www.openssl.org/source/old/1.1.1/openssl-1.1.1d.tar.gz

解压缩,比如:D:\software\openssl-1.1.1d

进入OpenSSL目录
D:\software\openssl-1.1.1d\openssl-1.1.1d>

项目配置:
perl Configure VC-WIN64A no-asm --prefix="D:\\software\\openssl-1.1.1d_build64"
这里的CPU类型只能选择VC-WIN64A,如果选择其它平台,会配置失败。比如,VC-WIN64I就导致如下错误:
OpenSSL: Nmake fatal error U1077: 'ias' : return code '0x1'

开始编译:
nmake
这个过程比较漫长。
在windows10上编译时,通常会报错,提示这个文件的400行有错误:
‪C:\Perl64\site\lib\ActivePerl\Config.pm
用记事本打开这个文件,然后把sub _warn的内部实现全部注释掉。如下:
sub _warn {
# my($msg) = @_;
# unless (-t STDOUT) {
# print "\n$msg\n";
# return;
# }
# require Win32::Console;
# unless ($console) {
# $console = Win32::Console->new(Win32::Console::STD_OUTPUT_HANDLE());
# }
# my($col,undef) = $console->Size;
# print "\n";
# my $attr = $console->Attr;
# $console->Attr($Win32::Console::FG_RED | $Win32::Console::BG_WHITE);
# for (split(/\n/, "$msg")) {
# $_ .= " " while length() < $col-1;
# print "$_\n";
# }
# $console->Attr($attr);
# print "\n";
}

构建完成后,测试一下:
nmake test
正常情况下,应该所有的测试用例都是ok或skipped。

最后执行:
nmake install