mydumper requires the following before it can be compiled:
Additionally the following packages are optional:
- python-sphinx (for documentation)
apt-get install libglib2.0-dev libmysqlclient15-dev zlib1g-dev libpcre3-devyum install glib2-devel mysql-devel zlib-devel pcre-develzypper install glib2-devel libmysqlclient-devel pcre-devel zlib-develport install glib2 mysql5 pcreCMake is used for mydumper's build system and is executed as follows:
cmake . make
You can optionally provide parameters for CMake, the possible options are:
-DMYSQL_CONFIG=/path/to/mysql_config- The path and filename for the mysql_config executable-DCMAKE_INSTALL_PREFIX=/install/path- The path where mydumper should be installed
If you wish to just compile the documentation you can do so with:
cmake . make doc_html
or for a man page output:
cmake . make doc_man