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
get
>the binary version of gcc from sunfreeware.com to work. The problem seems
to
>be a lot of missing files in /usr/ccs/bin, in particular as. (ar is there
>though).
>
>I have installed the following packages:
>
>SUNWbtool
>SUNWbtoox
>SUNWhea
>SUNWsrh
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,
SUNWxglh
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
<http://www.wins.uva.nl/pub/solaris/solaris2/>
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
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:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT