(Note: This post is relevant only if you want to have 'DTr
ace' support in the MySQL server. Packages for Solaris are
available at http://dev.mysql.com/downloads/. You can
install the MySQL packages for Solaris 10 on Open
Solaris)
We shall use the Sun Studio C/C++ compilers and linkers to build MySQL 6.0 alpha on Open Solaris b98 on a x86 system.
- Grab the MySQL 6.0 alpha tarball from here
- Extract it
-
Go to the source root, and do the following: (The text following a '#' should be treated as comments)
$ ./configure --enable-dtrace CC=cc CXX= CC --without-falcon --prefix=/export/home/amit/mysql60-install # MySQL 6.0 alpha contains DTrace probes. To enable it use the flag --enable-dtrace, 'cc' and 'CC' are Sun C …