Building MariaDB From Source Using musl-based GNU/Linux
Instructions on compiling MariaDB on musl-based operating systems (Alpine)
- First, get a copy of the MariaDB source.
- Next, prepare your system to be able to compile the source.
MariaDB 10.1 and above is compiled using cmake. You can configure your build simply by running cmake using special option, i.e.
cmake . -DWITHOUT_TOKUDB=1
To build and install MariaDB after running cmake use
make sudo make install
Note that building with MariaDB this way will disable tokuDB, till tokuDB becomes fully supported on musl.