Download libevent from this site:
Then unpack, configure and compile it. Also install it in /usr/local
./configure --prefix=/usr/local make make install
Then obtain latest memcached from:
Then unpack, configure and compile. You need to point to the same folder so configure could find the library.
unpack ./configure --with-libevent=/usr/local/ make ./memcached -u root -vv
And thats all.