Skip to content

A compiled version of Redis 7.2.5 that can run on Windows is available.(with origin code)

License

Notifications You must be signed in to change notification settings

semanym/redis_7.2.5-for-Windows

Repository files navigation

redis_7.2.5-for-WIndows

A compiled version of Redis 7.2.5 that can run on Windows is available.(.exe in folder "src")

I have compiled the Redis 7.2.5 version for Windows using the source code downloaded from the official website.Because the compilation process can be prone to various bugs and cumbersome, I have decided to upload it to GitHub to facilitate everyone's download of the precompiled Redis version that can be executed directly on Windows.

Here's a brief description of potential bugs you may encounter during the process you described (compiling Redis on Windows) that may not have readily available solutions online:
    1.Missing files in the "deps" folder after running "make && make install":
    Solution: Enter the "deps" folder in Cygwin and execute commands like "make lua hiredis fpconv hdr_histogram" (or more, depending on the error message) to build the necessary dependencies. Once completed, return to the "src" directory and run "make && make install" again.
    2.Error in "sds.c" file related to "array subscript has type 'char'":
    Error message: "error: array subscript has type ‘char’ [-Werror=char-subscripts]"
    Solution: Locate the "sds.c" file and modify the line "if (isprint(*p))" to "if (isprint((int)*p))". This change ensures proper handling of the character type, resolving the error. After making the modification, proceed with compiling and you should see a successful outcome with the appearance of the executable files.

About

A compiled version of Redis 7.2.5 that can run on Windows is available.(with origin code)

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published