1834191 Members
2490 Online
110064 Solutions
New Discussion

swinstall and codewords

 
SOLVED
Go to solution
Ian Warner
Trusted Contributor

swinstall and codewords

I am trying to install ansi c via swinstall.
I have copied the depot onto my box and received the codeword from hp.

I try to install the software using swinstall, point it to the correct path. However, when I go to 'Actions->Add New Codeword' I get "The menu item you have chosen is not available for the current state of the application."
Heeeelp.

Ian
Why did anyone invent unix?
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: swinstall and codewords

If you have the depot already on the machine, you do not need the codeword. The codeword is really only needed if you are installing from a CD or DVD and you need to unlock the software on the disc.
Ian Warner
Trusted Contributor

Re: swinstall and codewords

Ta,

However, if I try the make command with the new compiler, I get

Internal Error: Codeword file $ST_CODEWORD,/opt/ansic/newconfig/ansic.cwd missing or empty.

Ian

Why did anyone invent unix?
DCE
Honored Contributor

Re: swinstall and codewords

Ian,

Where did you get the depot from? If you somehow copied it off a HP applications disk, you still need to place that disk in the cd/dvd played and run swinstall to get the codeword in place. If there is no cd/dvd on the system, you can NFS mount it.
Ian Warner
Trusted Contributor

Re: swinstall and codewords

Dowloaded a 60 day trial from the HP website.

Ian
Why did anyone invent unix?
Robert-Jan Goossens
Honored Contributor
Solution

Re: swinstall and codewords

Ian,

Try,


# swinstall -v -x codeword=XXXXXXXXX -x mount_all_filesystems=false -s /path_to_sw.depot \*

Regards,
Robert-Jan
Ian Warner
Trusted Contributor

Re: swinstall and codewords

Robert-Jan,

Tried that, swinstall started, said it could not find the depot, added it manualy, swinstall
installed the software, tried a make, exactly the same error message (sound of head banging off keyboard). Anxiously awaiting reply.

Ian
Why did anyone invent unix?
Robert-Jan Goossens
Honored Contributor

Re: swinstall and codewords

Ian,

Did you have the evaluation version installed?

http://www.unix.com/showthread.php?t=25238

Could you check if there is a file called /var/adm/sw/.codewords ?
if not
# touch /var/adm/sw/.codewords
stop/start the swagentd and try to swinstall again.

Regards,
Robert-Jan
Ian Warner
Trusted Contributor

Re: swinstall and codewords

Robert-Jan

A different error message this time -
Internal Error: Corrupted codeword in file /opt/ansic/newconfig/ansic.cwd.

Ian
Why did anyone invent unix?