1834149 Members
2267 Online
110064 Solutions
New Discussion

Re: aC++ upgrade problem

 
SOLVED
Go to solution
van Grinsven
New Member

aC++ upgrade problem

Hi,
I need to upgrade our current version of the C compiler. As far as I found out, this can be done in 2 ways. I preferred the install of a patch, but because this did not work, I tried to install an evaluation version (also without any luck).

The current version is:
# what /usr/ccs/bin/cc
/usr/ccs/bin/cc:
HP aC++/C for Itanium(R)-based systems B3910B A.05.50 [May 15 2003]

and it needs to be at least A.05.52. This could be fixed by installing 2 patches (PHSS_29655 and PHSS_29657), but both give dependancy problems. I tried to sort them out, but cannot find anything usefull.

How can I solve this?

Please find below the swinstall logs.

**************************************

# swinstall -s /tmp/PHSS_29655.depot \*

======= 12/21/06 15:50:13 MET BEGIN swinstall SESSION
(non-interactive) (jobid=T24SERV-0056)

* Session started for user "root@T24SERV".

* Beginning Selection
* Target connection succeeded for "T24SERV:/".
* Source: /tmp/PHSS_29655.depot
* Targets: T24SERV:/
* Software selections:
PHSS_29655.ACXX,r=1.0,a=HP-UX_B.11.23_IA,v=HP,fr=1.0,fa=HP-UX_B.11.23_IA
PHSS_29655.ACXX-HELP,r=1.0,a=HP-UX_B.11.23_IA,v=HP,fr=1.0,fa=HP-UX_B.11.23_IA
* Selection succeeded.

* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* "T24SERV:/": The software dependencies for 2 products or
filesets cannot be resolved.
* Analysis and Execution succeeded.

NOTE: More information may be found in the agent logfile using the
command "swjob -a log T24SERV-0056 @ T24SERV:/".

======= 12/21/06 15:50:14 MET END swinstall SESSION (non-interactive)
(jobid=T24SERV-0056)

# swjob -a log T24SERV-0056 @ T24SERV:/
======= 12/21/06 15:50:13 MET BEGIN install AGENT SESSION (pid=4404)
(jobid=T24SERV-0056)

* Agent session started for user "root@T24SERV". (pid=4404)

* Beginning Analysis Phase.
* Source: T24SERV:/tmp/PHSS_29655.depot
* Target: T24SERV:/
* Target logfile: T24SERV:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
NOTE: The patch fileset "PHSS_29655.ACXX,r=1.0" may only be
installed upon a previously installed base fileset. The
specification for this base fileset is
"ACXX.ACXX,fr=C.05.50,v=HP". Since there is no fileset on the
target or selected from the source which matches this
specification, fileset "PHSS_29655.ACXX,r=1.0" will be
excluded.
NOTE: The patch fileset "PHSS_29655.ACXX-HELP,r=1.0" may only be
installed upon a previously installed base fileset. The
specification for this base fileset is
"ACXX.ACXX-HELP,fr=C.05.50,v=HP". Since there is no fileset
on the target or selected from the source which matches this
specification, fileset "PHSS_29655.ACXX-HELP,r=1.0" will be
excluded.
* Executing preDSA command.

* Summary of Analysis Phase:
* 2 of 2 filesets will be Skipped.
* The Analysis Phase succeeded.

======= 12/21/06 15:50:14 MET END install AGENT SESSION (Cancelled)
(pid=4404) (jobid=T24SERV-0056)

**************************************

# swinstall -s /tmp/PHSS_29657.depot \*

======= 12/21/06 15:51:09 MET BEGIN swinstall SESSION
(non-interactive) (jobid=T24SERV-0057)

* Session started for user "root@T24SERV".

* Beginning Selection
* Target connection succeeded for "T24SERV:/".
* Source: /tmp/PHSS_29657.depot
* Targets: T24SERV:/
* Software selections:
PHSS_29657.LANG-AUX,r=1.0,a=HP-UX_B.11.23_IA,v=HP,fr=1.0,fa=HP-UX_B.11.23_IA
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* "T24SERV:/": The software dependencies for 1 products or
filesets cannot be resolved.
* Analysis and Execution succeeded.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log T24SERV-0057 @ T24SERV:/".

======= 12/21/06 15:51:10 MET END swinstall SESSION (non-interactive)
(jobid=T24SERV-0057)

# swjob -a log T24SERV-0057 @ T24SERV:/
======= 12/21/06 15:51:09 MET BEGIN install AGENT SESSION (pid=4417)
(jobid=T24SERV-0057)

* Agent session started for user "root@T24SERV". (pid=4417)

* Beginning Analysis Phase.
* Source: T24SERV:/tmp/PHSS_29657.depot
* Target: T24SERV:/
* Target logfile: T24SERV:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
NOTE: The patch fileset "PHSS_29657.LANG-AUX,r=1.0" may only be
installed upon a previously installed base fileset. The
specification for this base fileset is
"Auxiliary-Opt.LANG-AUX,fr=B.11.23,v=HP". Since there is no
fileset on the target or selected from the source which
matches this specification, fileset
"PHSS_29657.LANG-AUX,r=1.0" will be excluded.
* Executing preDSA command.

* Summary of Analysis Phase:
* 1 of 1 filesets will be Skipped.
* The Analysis Phase succeeded.


======= 12/21/06 15:51:10 MET END install AGENT SESSION (Cancelled)
(pid=4417) (jobid=T24SERV-0057)

**************************************

# swinstall -s /tmp/B9007AAEVAL_C.11.23.12.VAL_HP-UX_B.11.23_IA+PA.depot \*

======= 12/21/06 15:38:37 MET BEGIN swinstall SESSION
(non-interactive) (jobid=T24SERV-0055)

* Session started for user "root@T24SERV".

* Beginning Selection
* Target connection succeeded for "T24SERV:/".
* Source:
/globus/B9007AAEVAL_C.11.23.12.VAL_HP-UX_B.11.23_IA+PA.depot
* Targets: T24SERV:/
* Software selections:
B9007AAEVAL,r=C.11.23.12.VAL,a=HP-UX_B.11.23_IA/PA,v=HP
ACXX.ACXX,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-HELP,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-JPN-E-MAN,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-JPN-HELP,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-JPN-S-MAN,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-MAN,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-MATH,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
ACXX.ACXX-STDLIB,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
Auxiliary-Opt.LANG-AUX,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
Auxiliary-Opt.LANG-STARTUP,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
C-ANSI-C.C,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
C-ANSI-C.C-HELP,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
C-ANSI-C.C-MAN,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
C-ANSI-C.C-MATH,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA
C-Dev-Tools.C-AUX,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
C-Dev-Tools.C-AUX-MAN,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
Caliper.CALIPER,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
CodeAdvisor.CODEADVISOR,r=C.01.00.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.01.00.VAL,fa=HP-UX_B.11.23_IA
SIN.SIN,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB.WDB,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB.WDB-DOC,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB.WDB-MAN,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB-GUI.WDB-GUI-HELP,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB-GUI.WDB-GUI-MAN,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
WDB-GUI.WDB-GUI-RUN,r=B.11.23.11.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=B.11.23.11.VAL,fa=HP-UX_B.11.23_IA
* Selection succeeded.

* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "T24SERV:/".
ERROR: "T24SERV:/": 1 files had errors during this operation.
ERROR: "T24SERV:/": 1 filesets had errors.
* The execution phase failed for "T24SERV:/".
* Analysis and Execution had errors.

NOTE: More information may be found in the agent logfile using the
command "swjob -a log T24SERV-0055 @ T24SERV:/".

======= 12/21/06 15:38:52 MET END swinstall SESSION (non-interactive)
(jobid=T24SERV-0055)

# swjob -a log T24SERV-0055 @ T24SERV:/
======= 12/21/06 15:38:38 MET BEGIN install AGENT SESSION (pid=4348)
(jobid=T24SERV-0055)

* Agent session started for user "root@T24SERV". (pid=4348)

* Beginning Analysis Phase.
* Source:
T24SERV:/tmp/B9007AAEVAL_C.11.23.12.VAL_HP-UX_B.11.23_IA+PA.depot

* Target: T24SERV:/
* Target logfile: T24SERV:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 439392 Kbytes.
This will leave 4708536 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 1304 Kbytes.
This will leave 12312608 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 25 of 25 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 25
* Files: 4810
* Kbytes: 435972
* Installing bundle "B9007AAEVAL,r=C.11.23.12.VAL" .
* Installing fileset "ACXX.ACXX,r=C.06.10.VAL" (1 of 25).
ERROR: Could not access remote file "/opt/aCC/bin/aCC" in software
item
"ACXX.ACXX,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA:/opt/aCC"
due to an internal error on the remote system.
ERROR: Failed installing fileset "ACXX.ACXX,r=C.06.10.VAL". Check
the above output for details.
* Retry number 1 of 1 for loading files for fileset
"ACXX.ACXX,r=C.06.10.VAL".
* Installing fileset "ACXX.ACXX,r=C.06.10.VAL" (1 of 25).
ERROR: Could not access remote file "/opt/aCC/bin/aCC" in software
item
"ACXX.ACXX,r=C.06.10.VAL,a=HP-UX_B.11.23_IA,v=HP,fr=C.06.10.VAL,fa=HP-UX_B.11.23_IA:/opt/aCC"
due to an internal error on the remote system.
ERROR: Failed installing fileset "ACXX.ACXX,r=C.06.10.VAL". Check
the above output for details.
NOTE: The Install Phase has suspended. Check the above output for
reasons.


* Aborting the Install Phase.

======= 12/21/06 15:38:52 MET END install AGENT SESSION (Aborted)
(pid=4348) (jobid=T24SERV-0055)
#
4 REPLIES 4
JJ de Haas
Occasional Advisor

Re: aC++ upgrade problem

Hi Emile,

Problem appears to be that you should probably first install the 'base fileset'.

NOTE: The patch fileset PHSS_29657.LANG-AUX,r=1.0" may only be installed upon a previously installed base fileset.

So it seems that you have a mismatch with your currently installed compiler and the patches you're trying to install.

For dependency checks, just go to the patch_database and enter the two patches. The tool there should give you all dependencies.

Cheers,
Jan.
Dennis Handly
Acclaimed Contributor
Solution

Re: aC++ upgrade problem

>The current version is:
what /usr/ccs/bin/cc

This is your problem. You are looking at the bundled C compiler. You must first install the ISU compiler, /opt/ansic/bin/cc, then you can patch it. Also, you are installing patches for C++, /opt/aCC/bin/aCC, not the C compiler.

Note A.05.52 is not supported and the latest compiler is A.06.13.

I'm not sure why you are getting the follwoing error:
ERROR: Could not access remote file "/opt/aCC/bin/aCC"

This may be related to:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1051341
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=971641
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964137
van Grinsven
New Member

Re: aC++ upgrade problem

Thanks both for your remarks. Bottomline was that I need to upgrade the existing compiler. It could very well be that I downloaded the wrong patches. The package though I tried to install (and was not working) is ok. Thanks to Dennis I foud out that our /etc/hosts file is a little messed up (nslookup of the host gave me a totally random ip address). Now the package seems te be accepted, but is complaining that I do not have sufficient permissions (I'm quite sure I logged in as root and if I'm not mistaken that is id 0 ;-)). I'll try and google my way out of this one, but if anyone has suggestions...

The message is:
You do not have the required permissions to perform this operation. Check permissions using "swacl" etc, etc, etc.
van Grinsven
New Member

Re: aC++ upgrade problem

Hi,
A reboot of the server fixed the problem. Thanks for the help!