SUMMARY: botched Solaris8 compiler/libs

From: Simoes, Dan (
Date: Tue Oct 17 2000 - 16:52:37 CDT

I asked:

>We recently installed a solaris 8 machine (220r, 6/00 release) and we are

>having a hard time getting the compiler to work.

>Yes, I know that solaris does not include the compiler, but I can't even

>the binary version of gcc from to work. The problem seems

>be a lot of missing files in /usr/ccs/bin, in particular as. (ar is there



>I have installed the following packages:






How embarrassing. None other than Casper Dik had to point out to me that
this question is basically answered in the FAQ.

The short answer is that I was missing SUNWsprot, and it lives on the 2nd
software CD in the Solaris 8 set.
But I will include Casper's answer here for future idiots like myself...
/usr/ccs/bin/as is in package SUNWsprot

system SUNWsprot Solaris Bundled tools


You are still missing a few.

The solaris FAQ says:

6.2) Which packages do I need to install to support a C compiler?

Solaris ships with everything you need, with the exception of the

compiler itself. Solaris ships with the include files, make, an

assembler, linker and libraries. All this stuff lives in

/usr/ccs/bin (add it to your PATH before /usr/ucb if that's in your

PATH as well) /usr/ccs/lib and /usr/include.

If you still can't find it, make sure you have the following

packages installed on your system:

for tools (sccs, lex, yacc, make, nm, truss, ld, as):

SUNWbtool, SUNWsprot, SUNWtoo

for libraries & headers:

SUNWhea, SUNWarc, SUNWlibm, SUNWlibms

SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,


for 64 bit development:

SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,

SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx

for ucb compat:

SUNWsra, SUNWsrh

These packages are all on the Solaris 2.x CDs, except that some

packages may only exist in some releases and not in others.

Some packages may be on separate CDs, such as the "Desktop/CDE"

CD, but all are part of the Solaris "bundle".

--- end of excerpt from the FAQ

The most recently posted version of the FAQ is available from


U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT