【Redis】源码编译安装
Window版
参考:https://blog.csdn.net/Maxiao1204/article/details/117248174
1、下载安装msys2
https://www.msys2.org
2、安装编译要用的包
pacman -S gcc make pkg-config
3、解决报错
error: unknown type name ‘Dl_info’
修改 D:/msys64/usr/include/dlfcn.h,删除两行
4、编译安装
cd /e/env/redis-7.4.1
make PREFIX=/e/env/redis-7.4.1/bin install