building_mariadb_on_freebsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
building_mariadb_on_freebsd [2017/07/02 02:02] – created k2patel | building_mariadb_on_freebsd [2017/07/02 02:05] – k2patel | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Build / Compile MariaDB on FreeBSD | + | ====== |
- | Getting Source | + | |
- | get source from MariaDB | + | ==== Getting Source ==== |
+ | |||
+ | |||
+ | get source from [[http:// | ||
extract to / | extract to / | ||
- | Configure | + | ==== Configure |
Modular configure (usually you need to load plugins with my.cnf) i am using this one. | Modular configure (usually you need to load plugins with my.cnf) i am using this one. | ||
+ | <code bash> | ||
./configure --with-extra-charsets=all --localstatedir=/ | ./configure --with-extra-charsets=all --localstatedir=/ | ||
+ | </ | ||
OR | OR | ||
Build With Plugin | Build With Plugin | ||
+ | <code bash> | ||
./configure --with-extra-charsets=all | ./configure --with-extra-charsets=all | ||
+ | </ | ||
+ | |||
OR | OR | ||
Static Build as suggested by MariaDB wiki. | Static Build as suggested by MariaDB wiki. | ||
+ | <code bash> | ||
./configure --prefix=/ | ./configure --prefix=/ | ||
--with-extra-charsets=all | --with-extra-charsets=all | ||
Line 26: | Line 33: | ||
--with-mysqld-ldflags=-all-static | --with-mysqld-ldflags=-all-static | ||
--with-zlib-dir=bundled --enable-local-infile | --with-zlib-dir=bundled --enable-local-infile | ||
+ | </ | ||
Now run “make -j4” and “make install” – will install it on system. | Now run “make -j4” and “make install” – will install it on system. | ||
building_mariadb_on_freebsd.txt · Last modified: 2020/08/10 02:35 by 127.0.0.1