[indiana-discuss] Create your own OpenSolaris IPS repository in a Weekend

Glynn Foster Glynn.Foster at Sun.COM
Thu Jan 17 15:37:27 PST 2008


Hey,

Glynn Foster wrote:
> It should be possible now to start being able to remove much of the CBE - apart
> from pkg[build,tool] and the compilers, you've mostly got everything you need. I
> think the only thing that's missing is libtool, which you could install separately.

Here are the rough instructions to getting things to build in spec-files -

 o Download and install the install image of SUNWspro into /opt/SUNWspro
 o Download and install pkgbuild from pkgbuild.sf.net
 o Install SUNWg4, SUNWgnu-automake-19, SUNWgnu-automake-110 through pkg(1)
   (there's likely other packages not installed by default, but they're
    available on pkg.opensolaris.org)
 o Install CBElibtool, CBEautoconf from the JDS CBE through pkgadd(1)
 o I grab env.sh from the CBE since it's useful for setting CC and friends,
   along with taking stuff out of your path
 o Grab ld-wrapper from CBE and put it in your path
 o Create symlinks for aclocal and automake to the 1.9 versions in /usr/bin.
   Set ACLOCAL_FLAGS to include '-I /opt/jdsbld/share/aclocal'
   (PSARC/2007/293 depresses the hell out of me and the approach taken)

Not pretty, but it's workable.


Glynn


More information about the indiana-discuss mailing list