Monday Oct 13, 2008
Monday Oct 13, 2008
pfexec pkg install ss-dev
export CC=/opt/SunStudioExpress/bin/cc export CXX=/opt/SunStudioExpress/bin/CC export CFLAGS="-xO3" #Your fav compiler flags go here export CXXFLAGS="-xO3" ./configure --with-plugins=innobase,myisam --with-mysqld-libs=-lmtmalloc gmake
Yes, it is that simple. Of course you could just download the binaries and use them too; they work just fine.
Thanks a whole lot.
I wish other developers could also share their experience of how to build their packages. This is what an open source system is all about. Sun Studio rules!
Posted by W. Wayne Liauh on October 13, 2008 at 06:29 PM PDT #
Even easier, the OpenSolaris Web Stack team has preview MySQL 5.1 packages available for testing via IPS from the Web Stack project repository at:
http://pkg.opensolaris.org/webstack/
These are preview builds of the MySQL 5.1 which will go into OpenSolaris in the near future, so it's a good way to get a head start testing/playing with them.
For more info on Web Stack check out
http://opensolaris.org/os/project/webstack/
Posted by Jyri Virkki on October 13, 2008 at 07:37 PM PDT #