系統要求
Memory (RAM)
96 MB minimum (128 MB or higher recommended)
Disk space
Up to 525 MB1
Operating System
IBM AIX Version 4.3.3 or higher
操作系統需要安裝以下FILESETS
bos.adt.include Base Application Development Include Files
bos.adt.lib Base Application Development Libraries
bos.adt.libm Base Application Development Math Libraries
bos.net.ncs Base Network Computing Services
ifor_ls.compat License Use Management Version 4 Compatibility
ifor_ls.base License Use Management Version 4 Base
下面這些FILESETS在裝某些組件的時候也可能需要
X11.base.rte
bos.rte.. libpthreads
ipfx.rte
ifor_ls.base.gui
ifor_ls.client.gui
1.
# smitty install_all
2.
INPUT device / directory for software
Move cursor to desired item and press Enter.
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
3.
INPUT device / directory for software
Move cursor to desired item and press Enter.
按F4選擇
/dev/cd0 (/cdrom/cd0)
4.
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software /dev/cd0
* SOFTWARE to install [] <<<<光標停在這裏按F4,用F7選擇需要安裝的FILESETS +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? no <<<<光標停在這裏按F4選擇 yes +
Preview new LICENSE agreements? no +
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
5.
對於c編譯器下面這些FILESETS是要裝的
vac.C C for AIX compiler
vac.C.readme.ibm C for AIX additional information
vac.lic C for AIX LUM License Files
vac.msg.LANG.C C for AIX compiler messages
xlopt.lib XLOPT Optimization Library
xlopt.rte XLOPT Optimization Runtime
xlopt.tools XLOPT Optimization Tools
xlsmp.msg.LANG.rte XL SMP Runtime Messages
xlsmp.rte XL SMP Runtime Library
memdbg.adt User Heap/Memory Debug Toolkit
memdbg.aix43.adt User Heap/Memory Debug Toolkit for AIX 4.3
memdbg.aix50.adt User Heap/Memory Debug Toolkit for AIX 5.1
memdbg.msg.LANG User Heap/Memory Debug Messages
對於c++編譯器下面這些FILESETS是要裝的
vacpp.cmp.aix43.lib VisualAge C++ Libraries for AIX 4.3
vacpp.cmp.aix43.tools VisualAge C++ Tools for AIX 4.3
vacpp.cmp.aix50.lib VisualAge C++ Libraries for AIX 5.1
vacpp.cmp.aix50.tools VisualAge C++ Tools for AIX 5.1
vacpp.cmp.core VisualAge C++ Compiler
vacpp.cmp.include VisualAge C++ Compiler Include Files
vacpp.cmp.lib VisualAge C++ Libraries
vacpp.cmp.rte VisualAge C++ Compiler Application Runtime
vacpp.cmp.tools VisualAge C++ Tools
vacpp.lic VisualAge C++ for AIX LUM License Files
vacpp.memdbg.aix43.lib VisualAge C++ User Heap and Memory Debugger
Libraries for AIX 4.3
vacpp.memdbg.aix43.rte VisualAge C++ User Heap and Memory Debugger
Runtime for AIX 4.3
vacpp.memdbg.aix50.lib VisualAge C++ User Heap and Memory Debugger
Libraries for AIX 5.1
vacpp.memdbg.aix50.rte VisualAge C++ User Heap and Memory Debugger
Runtime for AIX 5.1
vacpp.memdbg.lib VisualAge C++ User Heap and Memory Debugger
Libraries
對於Debugger編譯器下面這些FILESETS是要裝的
idebug.client.extras Debugger Interpreted Engine for OS/390&
idebug.client.gui Debugger Graphical User Interface
idebug.client.olt Object Level Trace Viewer
idebug.engine.compiled Debugger Engine for Compiled Languages
idebug.engine.interpreted Debugger Engine for Interpreted Languages
idebug.help.en_US Debugger help — English only
idebug.msg.LANG.engine Debugger Engine Messages
idebug.msg.LANG.olt Object Level Trace Messages
idebug.rte.hpj High-Performance Java? Runtime
idebug.rte.jre Java Runtime Environment
idebug.rte.olt.Java Object Level Trace Java Runtime
idebug.rte.olt.client Object Level Trace Client Controller
idebug.server.olt Object Level Trace Server
根據操作系統版本選擇相應的FILESETS,還要注意那些help、msg文件的語言,選個en_US的也就是了,別忘了裝6.0.0.0 VisualAge C++ Compiler Include Files和6.0.0.0 VisualAge C++ Libraries。
6.
安裝結束可能會提示失敗,沒關係,仔細看FAILURES段的描述,要只是說系統沒有的某些語言集或者選擇的FAILURES和操作系統的版本不一致,這就沒關係。
COMMAND STATUS
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]
geninstall -I "a -cgNqwXY -J" -Z -d /dev/cd0 -f File 2>&1
7.
# /usr/opt/ifor/bin/i4config
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]: n
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
The Administration Tool usually uses port number [12999] to locate the
Nodelock License Servers. If for some reason your environment can not use port [
12999],
or you want to modify a previously assigned port number you can do it now.
Do you want to change the Nodelock License Server ip port number? [y,n]: n
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]: 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 29674.
'Start Services' has completed successfully
****************************************
* Configuration completed successfully *
****************************************
# /usr/opt/ifor/bin/i4blt -a -f /usr/vac/cforaix_cn.lic -R root -T 10
i4blt Version 4.6.6 AIX -- LUM Basic License Tool
(c) Copyright 1995-2002, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
(c) Copyright 1991-1997 Gradient Technologies Inc., All Rights Reserved
(c) Copyright 1991,1992,1993, Hewlett-Packard Company, All Rights Reserved
ADM-10099: Product successfully enrolled
8.
# find / -name cc
/usr/vacpp/bin/cc
/usr/vac/bin/cc
把/usr/vac/bin加入環境變量
# cc
C for AIX Compiler, Version 6
Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...
Description:
The xlC and related commands compile C and C++ source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlC calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .c suffix: C source file
2. file name with .i suffix: preprocessed C or C++ source file
3. file name with .o suffix: object file for ld command
以上在IBM VisualAge C++ Professional for AIX, Version 6.0 5765-F56-00
AIX5.2.0.02下測試通過,具體信息請參考Getting Started with VisualAge C++ for
AIX Introduction, Installation, and Migration Guide SC09-4962-00
配置License Server:
1、重新用root用戶登錄;鍵入 ./var/ifor/i4blt命令;
2、鍵入i4cfg –script命令,此時系統將提供菜單供選擇,按以下步驟執行:
1、選擇2) Nodelock License Server (and/or Network License Client);
2、出現Do you want to disable remote administration of this Nodelock License Server? [y,n]:時選擇y ;
3、選擇2) Direct Binding only;
4、選擇1) Default;
5、在出現The default Log file(s) path is /var/ifor Enter blank to accept default or specify a new path:時,鍵入:/var/ifor;
6、當提示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]:時,選擇n;
7、當提示Do you want the License Server(s) automatically start on this system at boot time? [y,n]:時,選擇y;
8、系統提示Do you want to continue? [y,n]: 時;選擇y;
9、當系統詢問Do you want the License Server(s) start now? [y,n]:時,選擇y