1753963 Members
7260 Online
108811 Solutions
New Discussion юеВ

re-install c compiler

 
Al Langen_2
Advisor

re-install c compiler

Most of the files in /usr/ccs/bin directory have been nulled out. Can these
files be re-installed from the core o/s CD? If so, how should I do it?
2 REPLIES 2
Willaim Hart
Advisor

Re: re-install c compiler

i would suggest using the sam utility.
invoke sam, go to software management,
then install software to local host,
fill out the fields as necessary.
note: cdrom should be loaded and mounted before
you begin sam.
not sure if thte c compiler is on the core cdrom but once you have it mounted,
the sam utility will show you a list of available products. simply scroll
through and mark what you need.
Jim Butler_4
Advisor

Re: re-install c compiler

See what you still have on the system - using
swlist -l product | grep -i compil

you should see
C-ANSI-C B.10.XX HP C/ANSI Compiler

If you do, then your compiler is installed, and you will need to overwrite it.

Use swinstall - change your options to reinstall files and filesets even if
same revision exists (in the options menu - two selections) - MAKE SURE YOU DO
THIS if your compiler is already installed. Do not change any other options.

Use the Core OS cd - drill down through the menus to find the C-ANSI-C product

Mark only the products to install that you KNOW are HOSED. DO NOT RE-INSTALL
EVERYTHING.!!!
MARK ONLY THOSE PRODUCTS (C/ANSI C) that you know are hosed.

Install it.

This will overwrite the null files and you should be in good shape.

If you don't change your options, it may not install the package.

BE Careful!