Need to install gcc (Solaris 9) - some packages missing?

Need to install gcc (Solaris 9) - some packages missing?

Post by ohay » Thu, 06 Jan 2005 07:42:34



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

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

 
 
 

Need to install gcc (Solaris 9) - some packages missing?

Post by Bryan Broc » Thu, 06 Jan 2005 08:18:23


Quote:> I've checked the Solaris CDs, and checked pkginfo, and can't find
> these.

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

Quote:> 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.

 
 
 

Need to install gcc (Solaris 9) - some packages missing?

Post by Alan Coopersmit » Thu, 06 Jan 2005 09:07:33



|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.

--
________________________________________________________________________

 http://www.csua.berkeley.edu/~alanc/   *   http://blogs.sun.com/alanc/
  Working for, but definitely not speaking for, Sun Microsystems, Inc.

 
 
 

Need to install gcc (Solaris 9) - some packages missing?

Post by ohay » Thu, 06 Jan 2005 11:17:47




> |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

 
 
 

Need to install gcc (Solaris 9) - some packages missing?

Post by Andreas Franz Borche » Thu, 06 Jan 2005 17:08:35



> I seem to be missing some packages:

>    for libraries & headers:
>        SUNWcg6h, SUNWolinc,
>        SUNWxglh, SUNWzlib

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

 
 
 

1. packages needed for gcc installation on Solaris 9 core install

I am trying to build a barebones solaris 9 webserver (Apache, Mysql,
Php, Perl).

I do a default core installation and am having trouble getting the
gcc-3.3.2 binary from sunfreeware.com to run (error is No AS).  I
believe I do not have all the necessary SUNW packages installed.

The comments on sunfreeware say "To use the gcc package from
sunfreeware.com you MUST install all of the SUNW deveoper packages
that come on Sun's Solaris CDs.".

Does anyone know of a list of packages which must be installed on top
of a core install to get gcc to work?

I saw on post which refered to this guide:
http://www.science.uva.nl/pub/solaris/solaris2.html#q6.2
but this guide is for Solarsi 2 so it is probably not what i need for
Solaris 9.

2. What kind of hardware do I need to run Linux?

3. Why are some packages installed in all zones for Solaris 10, but some packages are not ?

4. how to copy a CD to a CD?

5. Packages needed to install imap on Solaris

6. HELP, machine lossing connections.

7. Do I need install gcc-3.3.2-sol10-intel-local on my Solaris 10??

8. dhcp

9. help need to install and test gcc on my solaris 8/ intel

10. +!+how to install DBM in Solaris , Is there a need to install DBM in solaris

11. ++how to install DBM in Solaris , Is there a need to install DBM in solaris

12. Any solution for missing packages doing file install in B&W G3?

13. Install by ftp: *many* packages missing!