The following two articles should help you get your Solaris machine prepared to build MariaDB (just ignore the parts about installing buildbot):
BUILD/compile-solaris-amd64
and BUILD/compile-solaris-amd64-debug
are probably the most useful.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/building-mariadb-on-solaris-and-opensolaris/