Operating System - HP-UX
1833342 Members
3006 Online
110051 Solutions
New Discussion

Problem with HP ANSI/C++ Compiler and Oracle Installer

 
SOLVED
Go to solution
Nelson Ros
Occasional Advisor

Problem with HP ANSI/C++ Compiler and Oracle Installer

Loading Oracle 10gR2 on Hpux -11.11
All patches installed except for the following as they were superceded (as noted)
PHSS_32508 => PHSS_3608
PHSS_32509 => swinstall reports no files installed
PHSS_32510 =>PHSS_36088
PHSS_32731 =>PHSS_36466
All configurable kernal entries modified except
maxuprc = Sam will not allow modification
nfile = Sam will not allow modification
senmap = Sam will not allow modification
senmni = Sam will not allow modification

Install fails at first attempt to "make" with the following errors in the makefile.log

/usr/ccs/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/oracle/app/ rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then \
/oracle/app/bin/gennttab > ntcontab.c ;\
cc +DS2.0 +DA2.0W -c ntcontab.c ;\
rm -f /oracle/app/lib/ntcontab.o ;\
mv ntcontab.o /oracle/app/lib/ ;\
ar rv /oracle/app/lib/libn10.a /oracle/app/lib/ntcontab.o ; fi)
cc: 487: warning : Possibly incorrect message catalog.
Internal Error: Codeword file $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd missing or empty.
*** Error exit code

Note Internal error references aCC.cwd file
/opt/aCC/newconfig/aCC.cwd exists and is not empty

Also exported TIMEBOMB_CWD and CODEWORD_ST just to make sure

Any ideas ???
7 REPLIES 7
Dennis Handly
Acclaimed Contributor
Solution

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

Are you installing Oracle apps? Otherwise you don't need to install the evaluation copy of the HP C/aC++ Developer's Bundle.

For PA C, the env var is TIMEBOMB_CWD, for aC++ and IPF it is ST_CODEWORD.

When you installed the evaluation copy, did you get a license key and put it into /opt/aCC/newconfig/aCC.cwd?
whiteknight
Honored Contributor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

Nelson,

You can get a HP C/aC++ Developer's Bundle for Evaluation
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL

Steps to create Codeword files
==============================
For Integrity 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 variable ST_CODEWORD to point to the file where the license key is stored.

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
please assign points
Problem never ends, you must know how to fix it
Nelson Ros
Occasional Advisor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

Thank you dennis and "white Knight"

Dennis - I had already downloaded and installed the C++ complier, registered and recived the license file and followed all the installation instructions. I made a misktake (typo) when I typed the fact that I had exported the TIMEBOMB_CWD and ST_CODEWORD environment variables. My comment

"Note Internal error references aCC.cwd file
/opt/aCC/newconfig/aCC.cwd exists and is not empty"

was intended to show that this is not a Oracle installer problem but possibly a ANSI C++ install problem.

It appears that oracle needs to "complile" and link a new library for its use. the first make of the library is on the ntcontab created library and on that complie I receive the error

"cc: 487: warning : Possibly incorrect message catalog.
Internal Error: Codeword file $TIMEBOMB_CWD,/opt/aCC/newconfig/aCC.cwd missing or empty"

It appears that ar is used primarily with the link command to build libraries. With the error displayed it makes sense that the ar command will fail since the "compiler" is not compiling the new library.

WhiteKnight : Many posts cite that the compiler is not necessary, but the output above indicates that the oracle installer needs to re-make a library for the oracle net_client. If it is ture that the compiler is not necessary how is this process accomplished???. Without the new library linked how can oracle use the library ?

Your thoughts ?
Tim Nelson
Honored Contributor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

For the two dozen or so 9i and 10g installations we have here, we have successfully installed all of them without requireing the C++ bundle.

Just an FYI,
Nelson Ros
Occasional Advisor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

Thanks All.

I just went through the install and stepped thru all the errors from the script.

Conventional wisdom with reference to the patches (other threads) indicates that the patching level on the system is suficient.

The errors I am seeing during "linking" is a result of some obscure variables that oracle defines for some very specific implementations. They do not apply in the environment that we are installing for.

I am just going to "blow thru" the errors and continue with the install.

Thanks all

Nelson Ros
Occasional Advisor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

Thanks Again
Dennis Handly
Acclaimed Contributor

Re: Problem with HP ANSI/C++ Compiler and Oracle Installer

>My comment ... was intended to show that this is not a Oracle installer problem but possibly a ANSI C++ install problem.

Exactly, or a sysadmin problem setting up the eval compiler. Or Oracle unsetting env vars?

>It appears that oracle needs to "compile" and link a new library for its use.
>If it is true that the compiler is not necessary how is this process accomplished???

If you remove the eval compiler, the bundled C compiler should work fine.

>They do not apply in the environment that we are installing for.

Ok, but it would be good to know why you can't get the eval compiler to work.