Operating System - HP-UX
1856458 Members
2755 Online
104113 Solutions
New Discussion

error in install the C/aC++ compiler

 
SOLVED
Go to solution
Mousa55
Super Advisor

error in install the C/aC++ compiler

HI

i am installed the HP C/aC++ product bundle evaluation in /opt/aCC/newconfig directory (11.11i) but this trial version is not completed Because of an existence more missing file
i am using this command
"swinstall -s $PWD/opt/aCC/newconfig/productName.depot B9007AAEVAL"
i am download from this site

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL

find the attached file including the logs file

thanks and best regards
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: error in install the C/aC++ compiler

Shalom,

Try this command:

"swinstall -s $PWD/opt/aCC/newconfig/productName.depot B9007AAEVAL \*"

The download itself may have been truncated, you may wish to try it again.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
whiteknight
Honored Contributor

Re: error in install the C/aC++ compiler

Hi Nejad,

you have to follow the installation path as per steps given, since it is a evaluation copy.


For PA HP C/aC++ compiler:

Copy your 26 digit hexadecimal license key in a plain text (ASCII) file.
Save the file as aCC.cwd in the following location:
/opt/aCC/newconfig/aCC.cwd
This enables your evaluation copy of the HP C/aC++ Compiler.

Alternately, export the variables ST_CODEWORD (for HP aC++) and TIMEBOMB_CWD (for HP C) to point to the file where the license key is stored.

To install the compiler:

Log in as root.
To install the HP C/aC++ product bundle, as root use swinstall as follows:
# /usr/sbin/swinstall -s $PWD/B9007AAEVAL_.depot B9007AAEVAL
Where B9007AAEVAL_.depot matches what was downloaded.

Note:
The OS Version can be 11.11, 11.23, or 11.31

WK
Problem never ends, you must know how to fix it
Dennis Handly
Acclaimed Contributor

Re: error in install the C/aC++ compiler

Why do you have the depot under /opt/aCC/?
Or under $PWD/opt/aCC/, if that is different?
(You don't need $PWD if the path starts with "/".)

This is dangerous since as part of the preinstall script, it may remove everything under /opt/aCC/ first!

Your log indicates that depot is corrupted as SEP says.
Dennis Handly
Acclaimed Contributor

Re: error in install the C/aC++ compiler

You haven't assigned any points yet to over 166 responses:
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1485417&listType=question&forumId=1

If any answers were useful, you need to assign points. Please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

If you continue to not assign points to the people that have stopped to help you, you may be struck off. :-)
Mousa55
Super Advisor

Re: error in install the C/aC++ compiler

HI and thanks
what it is the meaning of 'Copy your 26 digit hexadecimal license key in a plain text (ASCII) file'

and how?

thanks and
Sorry on the delay in the reply because of the difference in the time
Dennis Handly
Acclaimed Contributor

Re: error in install the C/aC++ compiler

>what it is the meaning of 'Copy your 26 digit hexadecimal license key in a plain text

See the following thread and Peter and Kai's post about how to get the license key:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048444