This page contains a modified version of memcached (v1.2.5 and v1.2.6) and libevent (v1.4.4) that builds on Windows.

Building libevent should work out of the box. Building memcached should also work out of the box, but it requires libevent to be first built beside it in a directory called "libevent". For example:

/src/libevent
/src/memcached

The included project files are created with Visual Studio 2003, but should import fine into VS2005 and VS2008.

These projects are based on the existing win32 builds of the two projects. Just fixed so that they work. Neither library has been modified from the respective released version other than to add win32 required changes. I released them here simply because I found no buildable win32 versions for these projects.

Note in particular that I provide no promises and no support.

Last updated: 24 Sep 2008

Files

libevent 1.4.4

The original is the version from the libevent website.

original: libevent-1.4.4-stable.tar.gz

win32: libevent-1.4.4-stable-win32.zip

patch: libevent-1.4.4.diff

Apply the patch using a command line like: patch -E -p 1 -i libevent.diff

memcached 1.2.6

The original is the version from the memcached website.

original: memcached-1.2.6.tar.gz

win32 src: memcached-1.2.6-win32-src.zip

win32 binary: memcached-1.2.6-win32-bin.zip

patch: memcached-1.2.6.diff

Apply the patch using a command line like: patch -E -p 1 -i memcached-1.2.6.diff

Notes:

  • Re-released on 24 Sep 2008 to fix the internal version number that caused the server to return version 1.2.5 for the stat command.
  • Still using libevent 1.4.4 because I can't be bothered trying to fix that library too.
  • It would be nice if the memcached dev team included many of these fixes into the main codebase since they address warnings and errors in the code rather than specific win32 changes

Management

I haven't had installed or used it myself, but you may be interested in a management tool for memcached on Windows. See the memcached Manager.

Older Versions

memcached 1.2.5

The original is the version from the memcached website.

original: memcached-1.2.5.tar.gz

win32 src: memcached-1.2.5-win32.zip

win32 binary: memcached-1.2.5-win32-bin.zip

patch: memcached-1.2.5.diff

Apply the patch using a command line like: patch -E -p 1 -i memcached.diff

Stats
Powered by Website Baker