I spent hours trying to get sqlite3-ruby installed on Solaris 10 and finally figured it out. I use packages from Blastwave which is a nice package repository with a cool pkgutil command that automates pkg installation and resolves dependancies over the internet. Most of the time was wasted trying to get the gem installed using gcc, but a lot of gems have problems with gcc. The solution was to install Sun Studio 12.
1. Download and install from Sun Studio 12.
2. Setup Blastwave.
pkgadd -d http://blastwave.network.com/csw/pkgutil_`/sbin/uname -p`.pkg export PATH=/opt/csw/gnu:$PATH:/opt/csw/bin:/opt/SUNWspro/bin
3. Install ruby, sqlite3 and misc packages.
pkgutil -i ruby rubygems sqlite3 sqlite3dev binutils gnulinks
4. Install the sqlite3-ruby gem.
gem install sqlite3-ruby
Recent Comments