Install Redis 3.2.7 in Cygwin

Fail to Compile Redis 3.2.7

cd <Redis Folder>

make

Image 1217.png

It required to make for the following first

/deps/hiredis
/deps/lua
/deps/geohash-int
/deps/geohash-int

Fix

place the below after #include “sds.h"

/* Cygwin Fix */ 
#ifdef __CYGWIN__
#define TCP_KEEPCNT 8
#define TCP_KEEPINTVL 150
#define TCP_KEEPIDLE 14400
#endif

image-1219

cd deps
make lua hiredis linenoise
cd ..
make

 

Then Redis is sucessfully built on top of cygwin.

 

You would find redis-server.exe in src folder

Image 1220.png

cd src

redis-server.exe

Image 1221.png