Have you properly compiled and installed the thrift, event, and log4cpp libraries? Do you even need them?