This is something that’s been bugging me for ages. I could not easily make pkgsrc bootstrap and compile packages under OpenSolaris. Today I cracked it:
- Grab the latest stable tarball and gtar xzf it somewhere sensible (under /usr is good).
-
pfexec pkg install SUNWgcc sunstudioexpress SUNWgmake
-
pfexec pkg install SUNWxwinc
-
pfexec pkg install SUNWcvs SUNWgnome-common-devel
-
su
-
cd /usr/pkgsrc/bootstrap
-
export PATH=/usr/ccs/bin:$PATH
-
./bootstrap
- <patience>
- Edit your .bash_profile to make sure /usr/pkg is in your path
And you’re done! Working a charm for me here.

