|I need to install gcc (3.4.2) on a Solaris 9 system so that I can
|compile Apache on a Sparc machine (need 2.0.49). I was preparing to
|install a binary gcc distribution, but according to some Solaris FAQs
|that I've found, I seem to be missing some packages:
| for libraries & headers:
| SUNWcg6h, SUNWolinc,
| SUNWxglh, SUNWzlib
That's an outdated list from older Solaris releases, and even then
you didn't need all of those, depending on what you're compiling.
(SUNWcg6h was headers for the CG6 graphics cards, SUNWolinc are the
OpenLook graphics toolkit headers - EOL'ed after Solaris 8, SUNWxglh
are the XGL graphics toolkit headers - EOL'ed after Solaris 2.6,
SUNWzlib is the zlib library package, which should be around, but
if you're not building software that calls zlib, you shouldn't need
it to compile.)
|Can I install the gcc binary and compile gcc itself without these
|packages? If not, where can I find them?
You should be able to just fine.
http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.