Set up OpenSolaris 08.11 for a develop environment

I've recently got a new laptop, Lenovo Thinkpad X200. With some effort, I've set up OpenSolaris 08.11 for a develop environment.

It took a trick to install OpenSolaris 08.11. I intended to leave a unreserved disk space to install it. But the installer just had some problem to create a Solaris partition using the unreserved disk space. I had to create a partition first, then let the installer convert the partition to Solaris partition. After that, the installation goes pretty smoothly.

I see OpenSolaris has improved a lot in hardware compatibility. Almost all the devices of my laptop have been recognized and installed correctly, except the wireless card. My wireless card is an integrated Intel PRO/1000 card. Actually the driver (iwk) is already there, but just miss the device id. Manually adding the device id make it work.

As installed from a live CD, a bunch of stuffs are not there. To use it as a develop environment, you need to install some other packages. Fortunately we have IPS. The desktop GUI for IPS, Package Manager, has also improved a lot since I first tried it on OpenSolaris 08.05. BTW, because of a bug, you'll have to work around it if you want to set proxy for Package Manager.

The first thing I want is Mercurial. Just install SUNWmercurial through IPS, pretty easy. Then I tried to build cscope. Several packages installed to make the build success, including SUNWhea, SUNWgmake, SUNWgm4, SUNWautoconf. (Of course you'll also need to install a compiler if you don't have one).

More packages will be needed depending on what development you'll be doing. To build Mozilla applications, I installed SUNWgnome-common-devel, SUNWxorg-headers, SUNWcurl. IPS is your friend.

Unlike Linux's package management, OpenSolaris doesn't separate the devel part of a package into a standalone one. We don't need to install a bunch of devel packages. But I think the devel part really should be seperated, so that we can have more spaces in the CD to have other stuffs in.

Comments:

there are also clusters like gcc-dev, java-dev,ruby-dev, ss-dev that pull in a lot of the packages needed for development.

Posted by Andreas on January 22, 2009 at 02:32 AM PST #

Woth also noting that the newer 'Thinkpad' wireless card has switched to a RealTek and does not currently has support on linux / opensolaris. But otherwise runs fine. Have not tested sleep / resume yet.

Posted by Grant on February 10, 2010 at 03:49 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I'm a developer working on Solaris I/O framework. Formerly, I worked on Mozilla and GNOME projects.

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