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.
September 12th, 2008 |
September 28th, 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).