- Add the following lines to the end of
/etc/profile
, and then reconnect via SSH:
PATH=/opt/csw/bin:$PATH:/usr/ccs/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/local/bin
TERM=xterm
export PATH
export TERM
- Install the CSW repository tools:
pkgadd -d http://get.opencsw.org/now
pkgutil -U
- Install dependencies via CSW:
pkgutil -y -i ruby20 ruby20_dev curl git gcc5core emacs_nox libffi6 libffi_dev
- Patch Ruby's rbconfig.rb to use gcc:
- x86 -
/opt/csw/lib/ruby/2.0.0/i386-solaris2.10/rbconfig.rb
- sparc -
/opt/csw/lib/ruby/2.0.0/sparc-solaris2.10/rbconfig.rb
Change "-KPIC" to "-fPIC"
Set CC to "/opt/csw/bin/gcc-5.2"
Change "-xO3" to "-O3"
Remove "-xarch=sparc" (sparc-only)
Change "-xarch=" to "-march=" (x86-only)
Add "-I/opt/csw/lib/libffi-3.2.1/include" to CPPFLAGS
- Install rake & bundler:
gem install rake bundler --no-rdoc --no-ri
- Clone the omnibus-sensu directory:
git clone git@github.com:sensu/omnibus-sensu.git
- Configure git:
git config --global user.email "justin@heavywater.io"
git config --global user.name "Justin Kolberg"