Created
December 6, 2017 12:23
-
-
Save zazabe/e5b4f1fd5135b5e7afb7c4a55142a7f7 to your computer and use it in GitHub Desktop.
How to install percona-playback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libtbb-dev libmysqlclient-dev libboost-program-options-dev libboost-thread-dev libboost-regex-dev libboost-system-dev libboost-chrono-dev pkg-config cmake build-essential libssl-dev git | |
mkdir install | |
cd install | |
git clone https://github.com/percona/percona-playback | |
cd percona-playback | |
mkdir build_dir | |
cd build_dir | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
sed -i 's#MYSQL_LIB-NOTFOUND#/usr/lib/x86_64-linux-gnu/libmysqlclient.so#g' CMakeCache.txt | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
make | |
make test | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment