Comments - Build Environment Setup for Linux
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
CentOS 7 still comes with MariaDB 5.5 by default, so
yum-builddep mariadb
does not install dependencies that were added in MariaDB 10.x.
Also, for some strange reason, gcc, gcc-c++ and bison don't seem to be listed as build dependencies in the MariaDB 5.5 source package provided by CentOS.
So as a minimum in addition to the builddep step above
yum install gcc gcc-c++ libaio-devel
are also needed, and even a few more to actually build CentOS packages with the same feature set as the official MariaDB RPMs.
(unfortunately setting up MariaDB.(com|org) repositories for 10.x doesn't help either as build dependencies are fetched from RPM source packages which are not provided by MariaDB repositories yet, see https://jira.mariadb.org/browse/MDEV-7066 )