Installing memcached 1.4.5 on Mac OS X 10.6.6 Snow LeopardEdit

libevent

Libevent is a prerequisite of memcached so we install it first:

$ curl -O http://monkey.org/~provos/libevent-2.0.10-stable.tar.gz
$ curl -O http://monkey.org/~provos/libevent-2.0.10-stable.tar.gz.asc
$ gpg --recv-keys 8D29319A # first time only
$ gpg --verify libevent-2.0.10-stable.tar.gz.asc
$ tar xzvf libevent-2.0.10-stable.tar.gz
$ cd libevent-2.0.10-stable
$ ./configure
$ make
$ make verify
$ sudo make install

memcached

$ curl -O http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz
$ tar xzvf memcached-1.4.5.tar.gz
$ cd memcached-1.4.5/
$ ./configure
$ make
$ make test
$ sudo make install