building_mariadb_on_freebsd
This is an old revision of the document!
Table of Contents
Build / Compile MariaDB on FreeBSD
Getting Source
get source from MariaDB
extract to /usr/local/src/mariadb
Configure
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
building_mariadb_on_freebsd.1284396745.txt.gz · Last modified: 2020/08/10 02:28 (external edit)