This is an old revision of the document!
get source from MariaDB
extract to /usr/local/src/mariadb
Plugin Based configure (usually you need to load plugins with my.cnf) i am using this one.
./configure --with-extra-charsets=all --localstatedir=/var/db/mysql
OR
Plugin build
./configure --with-extra-charsets=all --with-plugin-maria --with-plugin-xtradb --localstatedir=/var/db/mysql </code bash> OR Static Build as suggested by MariaDB wiki. <code bash> ./configure --prefix=/usr/local/mysql --enable-assembler \ --with-extra-charsets=all --enable-thread-safe-client --with-big-tables \ --with-plugin-maria --with-maria-tmp-tables --with-plugin-xtradb \ --with-mysqld-ldflags=-static --with-client-ldflags=-static --with-readline \ --with-ssl --with-plugins=max-no-ndb --with-embedded-server --with-libevent \ --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static \ --with-zlib-dir=bundled --enable-local-infile