Compiling and Installing Percona Playback from Source Code

The source code is available from the Launchpad project here. The easiest way to get the code is with bzr branch of the desired release, such as the following:

bzr branch lp:percona-playback

You should then have a directory named after the release you branched, such as percona-playback.

Compiling on Linux

Prerequisites

The following packages and tools must be installed to compile Percona XtraBackup from source. These might vary from system to system.

In Debian-based distributions, you need to:

# apt-get install debhelper libcloog-ppl0 autoconf automake libtool \
gettext intltool libdrizzle-dev libpcap-dev libtbb-dev libmysqlclient-dev \
libboost-program-options-dev libboost-thread-dev pkg-config

In RPM-based distributions, you need to:

# yum install autoconf automake libtool libdrizzle-devel gettext-devel \
libpcap-devel tbb-devel mysql mysql-devel intltool \
boost-program-options-devel boost-thread-devel pkgconfig

Package libmysqlclient-dev is not strictly needed for compiling, but if you don’t have it, you don’t get to do the play back part.

Building

If you are building from BZR, you will need to run ./config/autorun.sh first.

$ ./configure
$ make

There are several tests included, these use a dummy database client plugin to mainly test that parsing of the logs is correct.

$ make check

After that you can install the percona-playback with:

$ sudo make install

In some cases you’ll still need to manually link the libraries.

Call Us
+1-888-316-9775 (USA - Sales)
+1-208-473-2904 (USA - Sales)
+44-208-133-0309 (UK - Sales)
+1-877-862-4316 (Emergency)
+1-855-55TRAIN (Training)
+1-925-271-5054 (Training)

Table Of Contents

Previous topic

Percona yum Repository

Next topic

Percona Playback Overview

This Page



© Copyright 2011-2013 Percona Ireland Ltd.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
Created using Sphinx 1.1.3.
This documentation is developed in Launchpad as part of the Percona Playback source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.
]]>