免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4970 | 回复: 1
打印 上一主题 下一主题

[安装配置] 急,求c++ 编译器for aix4.3.3的详细安装文档!! [复制链接]

论坛徽章:
0
1 [报告]
发表于 2003-10-16 13:34 |显示全部楼层

急,求c++ 编译器for aix4.3.3的详细安装文档!!

在论坛里找,有很多的

论坛徽章:
0
2 [报告]
发表于 2003-10-16 14:03 |显示全部楼层

急,求c++ 编译器for aix4.3.3的详细安装文档!!

C & Visual Age C++的安装
使用root身份登录系统,将光盘放入光驱,C for AIX只有一张光盘,而Visual Age C++有两张盘,放第一张盘。使用命令:
#smitty install_latest
选择安装介质为/dev/cd0
Install and Update from LATEST Available Software
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                                [_all_latest]  +
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         +
Include corresponding LANGUAGE filesets?               yes        +
DETAILED output?                                        no        +
Process multiple volumes?                              yes        +
提交安装光盘上所有软件

二、License Server的配置
步骤一:
使用命令:#/usr/vac/bin/replaceCSET
运行命令:#/var/ifor/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 daemoe
   in a Licensing domain.
Please indicate your choice [1,2,3,4]: 2

选择2

步骤三:
Do you want to disable remote administration of this Nodelock License
Server? [y,n]:  y

选择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

选择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

选择n

步骤六
Choose the desired Server(s) logging level
   1) Default
2) All
3) Customized
Please indicate your choice [1,2,3]: 1

选择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

选择n

步骤九
Do you want the License Server(s) automatically start on this system
at boot time? [y,n]: y

选择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

选择y

步骤十一
*** Configuration file updated. ***

Do you want the License Server(s) start now? [y,n]: y

选择y
屏幕显示
0513-059 The i4llmd Subsystem has been started. Subsystem PID is 21776.
'Start Services' has completed successfully
****************************************
* Configuration completed successfully *
****************************************

步骤十二
C for AIX:
运行命令:
#/var/ifor/i4blt -a -f /usr/vac/cXXaix_cn.lic -R root -T 10(XX为版本,10为license)
Visual Age C++:
运行命令:
#/var/ifor/i4blt -a -f /usr/vacpp/vacpp_cn.lic -R root -T 10
屏幕显示:
i4blt Version 4.5.1 AIX -- LUM Basic License 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.
(c) Copyright 1991-1998 Gradient Technologies Inc., All Rights Reserved
(c) Copyright 1991,1992,1993, Hewlett-Packard Company, All Rights Reserved

ADM-10099: Product successfully enrolled

配置完成

三、测试方法
通过编译程序文件的方式来测试编译器是否正常工作。
C编译器的测试
执行如下命令:
#cd /tmp
#vi testc.c
testc.c内容如下:
#include <stdio.h>;
main()
{
printf(“\nC is OK!\n\n”);
}

编译test.c
#make test
生成可执行文件test(通过ls命令可以看到)
运行 test
#./test
屏幕输出
C is OK!
说明C程序编译正确。
VC的程序就请自己编拉:)

补充:
# /var/ifor/i4blt –s –l cn看看注册成功否?
另外,修改/usr/vac/cforaix_cn.lic文件,第一句话的最后一部分"admin_name"
不要改为root,而是改为 * ,提交以后其他用户编译就不会出现提示了


err:central registery server is not running???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP