安装redis on cygwin
1.首先确保make cc 安装了
2.修改一下文件
user@IBM174-PBW16MW /usr/local/redis-3.2.9
$ cat deps/hiredis/net.c
#include "sds.h"
#ifdef __CYGWIN__
#define TCP_KEEPCNT 8
#define TCP_KEEPINTVL 150
#define TCP_KEEPIDLE 14400
#endif
3.
user@IBM174-PBW16MW /usr/local/redis-3.2.9
$ cd deps/
jiawei@IBM174-PBW16MW /usr/local/redis-3.2.9/deps
$ ls
geohash-int jemalloc lua README.md
hiredis linenoise Makefile update-jemalloc.sh
jiawei@IBM174-PBW16MW /usr/local/redis-3.2.9/deps
$ make geohash-int ....
4 cd .. && make & make install
..