Monday Oct 13, 2008

Building MySQL 5.1.28 on Opensolaris using Sun Studio compilers

Want to use Dtrace or ZFS but are unfamiliar with building MySQL on Solaris? Dont panic, its never been easier. Here are the steps that worked for me.
  1. Install OpenSolaris using the latest development ISO file
  2. Install developer tools
    pfexec pkg install ss-dev
  3. Download 5.1.28rc source
  4. Build it
    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.

Sunday Oct 14, 2007

Ruby lovers rejoice!

My friend Prashant is working on delivering Ruby into Solaris! I am sure all Ruby lovers really appreciate your efforts Prashant! I no longer have to download and compile Ruby (or alternatively, install CoolStack) for every machine I use. If you are interested, checkout and contribute to the ARC case.
About

realneel

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today