Creating a Development Desktop on OpenSolaris
The SunStudio and SFE way
Introduction
This will probably not fit everybodies idea of a developers desktop but its what I use and can document here.
What do I need for my desktop ?
- Opensolaris 2008
- Latest Sunstudio Express
- a slightly pathed version of JDS-CDE (pkgbuild, pkgtool, etc)
- a fresh checkout of spec-files-extra
So lets install it
OS
An install of OS 200805 is pretty simple and described at length on the OpenSolaris.com pages. For a proper developer desktop I suggest around
30GB of space at least.
So lets go ahead. I assume that the uer you will use for development will be called 'sfeporter' with a home directory of /export/home/sfeporter.
We start with giving the 'devuser' package instalation rights
Login as your primary account (the one you created while installing OpenSolaris).
Give the package instalation rights to 'sfeporter'
usermod -P "Software Installation" sfeporter
very good. Now sfeporter can add and remove software packages at will.
So lets install the basics, namely the sunstudio and gnu development environments first.
pkg install ss-dev gcc-dev
Relevant addon packages
pkg install SUNWhea - brings you the required system header files
pkg install SUNWmercurial - mercurial required for OpenSolaris development
pkg install SUNWj6dev - the java SDK for decelopment in java
pkg install SUNWsprot - for make and stuff