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
I've checked the Solaris CDs, and checked pkginfo, and can't find
these.
Can I install the gcc binary and compile gcc itself without these
packages? If not, where can I find them?
Thanks,
Jim
You can check http://sunsolve.sun.com/handbook_pub/Software/ to see
which version of Solaris they came from, or you can just google the
following:
SUNWolinc site:sunsolve.sun.com
> Can I install the gcc binary and compile gcc itself without these
> packages? If not, where can I find them?
Maybe. After you find the missing ones on sunsolve.sun.com, you can
give it a try. I'd recommend building GNU's make before you try to
build gcc.
http://www.gnu.org/software/make/make.html
Once you get make and the gcc binary installed and working, you can
download the gcc source and "make bootstrap" to build a new gcc from
source. The readme files that come with the gcc source are the ticket.
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.
--
________________________________________________________________________
Alan Coopersmith * al...@alum.calberkeley.org * Alan.Coo...@Sun.COM
http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/
Working for, but definitely not speaking for, Sun Microsystems, Inc.
Alan Coopersmith wrote:
>
> ohaya <oh...@cox.net> writes in comp.unix.solaris:
> |Hi,
> |
> |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.
Alan,
Thanks. I just tried it, and it seemed to work ok...
Jim
SUNWcg6h and SUNWzlib are shipped with Solaris 9 and Solaris 10.
SUNWolinc was shipped with Solaris 8 but is no longer included in Solaris
9 or 10. This package provides the OPEN LOOK include files which are
now EOLd by Sun.
Andreas.
--
Dr. Andreas F. Borchert, SAI, Universitaet Ulm | Habe Mut, dich deines
Helmholtzstrasse 18, E02, Tel +49 731 50-23572 | eigenen Verstandes zu
http://www.mathematik.uni-ulm.de/sai/borchert/ | bedienen! -- I. Kant