getting error while installing memcached_function
i found the solution for the previous case

the DEPS ERROR mainly because of not setting the path

while installing the libevent,memcached,libmemcached i gave the prefix with /usr/local path....in that path all the library files are created 
and while installing memcached function we need to set the environment variable to the path as shown below

export PKG_CONFIG_PATH=/usr/local
export DEPS_CFLAGS=/usr/local
export DEPS_LIBS=/usr/local/lib

later its succesfully configured and working

regards
Deepak M