2025-03-12 19:14:12 +08:00
|
|
|
|
说明:分别是hiredis和它的异步依赖event的压缩包。编译生成了.a和.so,项目中暂时使用的.a的静态库
|
2025-03-12 11:08:50 +08:00
|
|
|
|
|
|
|
|
|
|
libevent编译:
|
|
|
|
|
|
./configure --prefix=/home/ykn/3rd_src/install/libevent/ --with-pic LDFLAGS="-Wl,-rpath,'\$\$ORIGIN' $LDFLAGS"
|
|
|
|
|
|
make
|
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
|
|
|
|
hiredis编译:
|
|
|
|
|
|
直接make即可
|
|
|
|
|
|
|
|
|
|
|
|
原版不支持windows,所以各平台头文件分开部署,比如CentOS下头文件部署在:
|
|
|
|
|
|
ISCS6000_HOME\src\3rd\platform\centos7\include
|