pkgsrc and OpenSolaris 2008.05 – made easy

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:

  1. Grab the latest stable tarball and gtar xzf it somewhere sensible (under /usr is good).
  2. pfexec pkg install SUNWgcc sunstudioexpress SUNWgmake
  3. pfexec pkg install SUNWxwinc
  4. pfexec pkg install SUNWcvs SUNWgnome-common-devel
  5. su
  6. cd /usr/pkgsrc/bootstrap
  7. export PATH=/usr/ccs/bin:$PATH
  8. ./bootstrap
  9. <patience>
  10. Edit your .bash_profile to make sure /usr/pkg is in your path

And you’re done! Working a charm for me here.

Subscribe

Subscribe to our e-mail newsletter to receive updates.

One Response to pkgsrc and OpenSolaris 2008.05 – made easy

  1. Maurizio Lombardi September 28, 2008 at 1:15 pm #

    Thanks!! Maybe it will save me a lot of work! (I was looking to pkgsrc to have aMule working on my OpenSolaris box).

Leave a Reply