So, I'm trying to compile memcached for Windows myself. Getting it to work in Visual Studio would be nice, but probably very difficult to get all the things right that configure/make does for you. Instead I'm trying to compile it using MinGW which is a mini posix-like environment for Windows that implements sh and should allow you to run configure and make. It also makes the file system look a bit more like your average *nix with /home and /usr.
First thing is getting Libevent compiled, which was actually pretty straight-forward: $ ./configure --prefix=/home/Henrik/libevent/ $ make $ make install ...and it puts a bunch of files in that folder. Looking good so far. But for memcached I then do: $ ./configure --prefix=/home/Henrik/memcached/ --with-libevent=/home/Henrik/libevent/ ...which just fails with this error message: checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/ If it's already installed, specify its path using --with-libevent=/dir/ I've tried a lot of different parameters for --with-libevent, and tried going without it, but always the same error. What am I missing? Has anyone else on this list managed to successfully compile it on Windows? /Henrik Schröder
