Before cmake there are two pre-steps put the folder under $SOURCE_ROOT/plugin of MySQL 5.5 make -C $SOURCE_ROOT/plugin/leveldb/leveldb