MySQL Source-Configuration Options Perform the build using the memcached (version 1.6 or later) installed in the system directory indicated by  dir_name . Files from this installation that are used in the build include the memcached binary, header files, and libraries, as well as the  memcached_utilities  library and the header file engine_testapp.h . You must leave this option unset when building  ndbmemcache  using the bundled memcached sources ( WITH_BUNDLED_MEMCACHED  option); in other words, the bundled sources are used by default). While additional  CMake  options—such as for SASL authorization and for providing  dtrace  support— are available for use when compiling  memcached  from external sources, these options are currently not enabled for the  memcached  sources bundled with NDB Cluster. Controls whether NDB utilities such as  ndb_drop_table  are linked with  ndbclient  statically ( OFF ) or dynamically ( ON );  OFF  (static linking) is the default. Normally static linking is used whe building these to avoid problems with  LD_LIBRARY_PATH , or when multiple versions of  ndbclient  are installed. This option is intended for creating Docker images and possibly other cases in which the target environment is subject to precise control and it is desirable to reduce image size. Added in NDB 8.0.22. Use the  libevent  included in the NDB Cluster sources when building NDB Cluster with ndbmemcached  support. Enabled by default.  OFF  causes the system’s  libevent  to be used instead. Build the memcached sources included in the NDB Cluster source tree, then use the resulting memcached server when building the  ndbmemcache  engine. In this case,  make install  places the memcached  binary in the installation  bin  directory, and the  ndbmemcache  engine shared library file ndb_engine.so  in the installation  lib  directory. This option is ON by default. Sets the classpath for building NDB Cluster Connector for Java. The default is empty. This option is ignored if  -DWITH_NDB_JAVA=OFF  is used. Enables error injection in the  NDB  kernel. For testing only; not intended for use in building production binaries. The default is  OFF . This is an alias for  WITH_NDBCLUSTER . Build and link in support for the  NDB  ( NDBCLUSTER ) storage engine in  mysqld . The default is  ON . Build the multithreaded data node executable  ndbmtd . The default is  ON . 244 • -DWITH_NDBMTD={ON|OFF} • -DWITH_NDBCLUSTER={ON|OFF} • -DWITH_NDBCLUSTER_STORAGE_ENGINE={ON|OFF} • -DWITH_ERROR_INSERT={ON|OFF} • -DWITH_CLASSPATH= path • -DWITH_BUNDLED_MEMCACHED={ON|OFF} • -DWITH_BUNDLED_LIBEVENT={ON|OFF} • -NDB_UTILS_LINK_DYNAMIC={ON|OFF}