Sometimes, one needs to have MariaDB compiled with Vanilla XtraDB. This page describes the process to do this. The process is rather crude, as my goal was just a once-off compile for testing (that is, not packaging or shipping) purposes.
The process is applicable to MariaDB 5.3.4 and XtraDB from Percona Server 5.1.61.
wget http://s.petrunia.net/scratch/make-vanilla-xtradb-work-with-mariadb.diff bzr branch /path/to/mariadb-5.3 5.3-vanilla-xtradb-r3 cd 5.3-vanilla-xtradb-r3/storage/ tar czf innodb_plugin.tgz innodb_plugin/ rm -rf innodb_plugin tar czf xtradb.tgz xtradb/ rm -rf xtradb cd ../../ tar zxvf ~/Percona-Server-5.1.61.tar.gz cp -r Percona-Server-5.1.61/storage/innodb_plugin 5.3-vanilla-xtradb-r3/storage/ patch -p1 -d 5.3-vanilla-xtradb-r3/storage/innodb_plugin/ < make-vanilla-xtradb-work-with-mariadb.diff cd 5.3-vanilla-xtradb-r3/ BUILD/autorun.sh ./configure --with-plugin-innodb_plugin make
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/compiling-mariadb-with-vanilla-xtradb/