Step1: Insert the volume one of AIX CD,
#smitty install
Select the file sets
Bos.adt
Ifor_ls
Ifor_ls.html.en_US
Ifor_ls.ipf.en_US
Ifor_ls.compat
Then press Enter to install. This will prompt you for volume 3 of AIX installation CDs then again volume one of AIX installation CD. This will install all the prerequisites required for installation of C++ Compiler.
Step2:
Insert the IBM C++ compiler CD and copy the contents of CD to any directory. Then run the command against that directory as given below
Ex: If the directory is in the file system /test/ccomp
#inutoc [directory name]
# inutoc /test/ccomp
The above command is used to create .toc file in the software dump directory.
Step3:
Then run again smitty install command to install C++ compiler. By select the dump directory as source. And then select below file sets.
# smitty install
File set names: vac.c
vac.c.readme.ibm
vac.html.en_US
Xldb.base
Xldb.help.en_US
Then install the c++ compiler.
Post Installation Steps
Steps1: After installation it will create a file i4cfg in /var/ifor run this file as below and answers for the questions as shown below.
# ./i4cfg -script
i4cfg Version 4.5.5 AIX -- LUM Configuration Tool
(c) Copyright 1995-1998, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
From a License Management point of view, you can choose to configure this system as:
1) Network License Client
2) Nodelock License Server (and/or Network License Client)
3) Network (and/or Nodelock) License Server
4) Central Registry (and/or Network and/or Nodelock) License Server (*)
(*) Remember that one and only one Central Registry License Server (i4gdb daemon) can be active in a Licensing domain.
Please indicate your choice [1,2,3,4]: 2
Do you want to disable remote administration of this Nodelock License
Server? [y,n]: y
You have to choose now which mechanism must be enabled
to locate this License Server:
1) NCS Namespace and Direct Binding (*)
2) Direct Binding only
(*) WARNING: Modifying NCS Namespace configuration may affect
any other application that use NCS on this system.
NCS Namespace is necessary to support old Netls, iFOR/LS Clients.
Please indicate your choice [1,2]: 2
Choose the desired Server(s) logging level
1) Default
2) All
3) Customized
Please indicate your choice [1,2,3]:1
The default Log file(s) path is /var/ifor
Enter blank to accept default or specify a new path:
*******************************************************************************
Server configuration is complete.
Do you want to modify the list of remote Nodelock and/or Network License Servers
this system can connect to in direct binding mode (both for
Administration purposes and for working as Network License Client) ? [y,n]: y
*******************************************************************************
Direct Binding managing.
Processing remote NETWORK Servers:
The current direct binding list is empty
You can now choose to:
1) preserve the current list
2) delete the current list
3) create a new list
Please indicate your choice [1,2,3]: 3
First we need to know the network names of the systems that are running
Network License Servers. Enter the names all on one line, each separated with a
blank.
For example: deckard rachael nexus6.tyrell.com
Server network name(s): apps01 (Server Name)
Please specify the Central Registry License Server name: apps01 (Server Name)
Licensed applications usually use port number [1515] to locate License Servers.
This number has been assigned by the NIC organization.
If for some reason your environment can not use port [1515] change it now.
Do you want to change the default ip port number [1515]? [y,n]: n
Licensed applications usually use port number [10999] to locate the Central Regi
stry License
Server. If for some reason your environment can not use port [10999] change it n
ow.
Do you want to change the default ip port number [10999]? [y,n]: n
*******************************************************************************
Direct Binding managing.
Processing remote NODELOCK Servers enabled to remote administration:
The current direct binding list is empty
You can now choose to:
1) preserve the current list
2) delete the current list
3) create a new list
Please indicate your choice [1,2,3]: 3
Now we need to know the network names of the systems that are running
Nodelock License Servers. Enter the names all on one line, each separated with a
blank.
For example: deckard louise nexus6.tyrell.com
Server network name(s): apps01 (Server Name)
The Administration Tool usually uses port number [12999] to locate Nodelock Lice
nse Servers.
If for some reason your environment can not use port [12999] change it now.
Do you want to change the default ip port number [12999]? [y,n]: n
Do you want the License Server(s) automatically start on this system
at boot time? [y,n]: y
*******************************************************************************
WARNING: Configuration is about to end.
This is your last chance to quit before your updates will be written.
Do you want to continue? [y,n]: y
*** Configuration file updated. ***
Do you want the License Server(s) start now? [y,n]: y
0513-059 The i4llmd Subsystem has been started. Subsystem PID is 18480.
Step5: Run the above modified file c43aix_cn.lic as below
# ./c43aix_cn.lic
It will take some time to register the licence. Once it is finished then you will back to the prompt then the perform as below to set the path of C++ compiler in /etc/environment file.
Step6: Go to the subdirectory /usr/vac/bin and run the file replaceCSET
# pwd
/usr/vac/bin
# ls -al replace*
-r-x------ 1 bin bin 1362 Oct 24 1997 replaceCSET
# ./replaceCSET
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.