Chinaunix

标题: sco unix 安装oracle Error during action 'Creating ntcontab.o'. [打印本页]

作者: ytwyg    时间: 2007-08-20 16:44
标题: sco unix 安装oracle Error during action 'Creating ntcontab.o'.
Error during action 'Creating ntcontab.o'.
Command:  make -f /usr/ora734/app/network/lib/ins_network.mk ntcontab.o
                                                                    
(if [ "compile" = "compile" ] ;then \                                 
/usr/ora734/app/bin/gennttab > ntcontab.c ;\                          
  cc  -c ntcontab.c ;\                                                
  rm -f /usr/ora734/app/lib/ntcontab.o ;\                             
  mv ntcontab.o /usr/ora734/app/lib ;fi)                              
acomp: WARNING-Product is not licensed.                                
mv: cannot access ntcontab.o: No such file or directory (error 2)      
make: *** [ntcontab.o] Error 2                                          

这个错误是怎么了?

我 搜索了一下
There is a known issue when installing ORACLE 7.3.4.0.0 on SCO Openserver 5
(Enterprise Edition).  During the relinking stage of the RDBMS the
following errors are reported:

Error during action 'Creating ntcontab.o'.
Command:  make -f
/u2/app/oracle/product/7.3.4/network/lib/ins_network.mk ntcontab.o
(if [ "compile" = "compile" ] ;then \
   /u2/app/oracle/product/7.3.4/bin/gennttab > ntcontab.c ;\
   cc  -c ntcontab.c ;\
   rm -f /u2/app/oracle/product/7.3.4/lib/ntcontab.o ;\
   mv ntcontab.o /u2/app/oracle/product/7.3.4/lib ;fi)
   /bin/sh: cc: not found
   mv: cannot access ntcontab.o: No such file or directory (error 2)
   make: *** [ntcontab.o] Error 2

This is because the 'SCO Openserver Enterprise Edition' operating system does
not include a C compiler by default.  This is only available with the 'SCO
Development Kit'.  

安装了SCO OpenServer Development System 还是不行呀

[ 本帖最后由 ytwyg 于 2007-8-20 17:21 编辑 ]

{61E67407-0ACF-4AFF-B849-FE73FA259059}.JPG (55.77 KB, 下载次数: 77)

{61E67407-0ACF-4AFF-B849-FE73FA259059}.JPG

作者: beilycao    时间: 2007-08-20 16:49
搜以前帖子,有解决办法
作者: ytwyg    时间: 2007-08-20 16:51
我没有找到呀 ,能不能给点提示呀
作者: beilycao    时间: 2007-08-20 16:53
安装过程中要用root用户登陆,运行几个脚本
作者: beilycao    时间: 2007-08-20 16:55
兄弟,遇到问题先自己多找找原来的精华贴,都有的http://bbs.chinaunix.net/viewthread.php?tid=564974,最好能解决问题后把自己的心得也贴出来,给后面的兄弟们看看。
作者: ytwyg    时间: 2007-08-20 16:56
我就是按照安装要求来的,先运行rootpre.sh ,后运行./orainst
作者: beilycao    时间: 2007-08-20 16:57
你的环境变量中的参数对吗?
作者: ytwyg    时间: 2007-08-20 17:01
这是我用google 找到的答案:
There is a known issue when installing ORACLE 7.3.4.0.0 on SCO Openserver 5
(Enterprise Edition).  During the relinking stage of the RDBMS the
following errors are reported:

Error during action 'Creating ntcontab.o'.
Command:  make -f
/u2/app/oracle/product/7.3.4/network/lib/ins_network.mk ntcontab.o
(if [ "compile" = "compile" ] ;then \
   /u2/app/oracle/product/7.3.4/bin/gennttab > ntcontab.c ;\
   cc  -c ntcontab.c ;\
   rm -f /u2/app/oracle/product/7.3.4/lib/ntcontab.o ;\
   mv ntcontab.o /u2/app/oracle/product/7.3.4/lib ;fi)
   /bin/sh: cc: not found
   mv: cannot access ntcontab.o: No such file or directory (error 2)
   make: *** [ntcontab.o] Error 2

This is because the 'SCO Openserver Enterprise Edition' operating system does
not include a C compiler by default.  This is only available with the 'SCO
Development Kit'.
作者: ytwyg    时间: 2007-08-20 17:03
没有解决问题~!
作者: beilycao    时间: 2007-08-20 17:04
我记起来了,要安装一个C的开发包,要不编译不了。在redhat9中安装oracle也有类似问题
作者: ytwyg    时间: 2007-08-20 17:07
原帖由 beilycao 于 2007-8-20 17:04 发表
我记起来了,要安装一个C的开发包,要不编译不了。在redhat9中安装oracle也有类似问题

已经装了,但是就是不可以,我好晕呀~!!!
作者: beilycao    时间: 2007-08-20 17:13
晕,我装的时候怎么没有遇到类似问题,把环境变量、操作系统版本贴上来,让大家看看
作者: ytwyg    时间: 2007-08-20 17:16
最主要是我是个新手,我好晕呀~!
env
_=/bin/env
HZ=100
PATH=.:/usr/ora734/app/oracle/product/7.3.4/bin:/bin:/usr/bin
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
ORACLE_BASE=/usr/ora734/app/oracle
HUSHLOGIN=FALSE
LOGNAME=ora734
MAIL=/usr/spool/mail/ora734
ORACLE_SID=ora734
ORACLE_DOC=/usr/ora734/app/oracle/product/7.3.4/doc
SHELL=/bin/ksh
ORACLE_TERM=ansi
ORA_NLS32=/usr/ora734/app/oracle/product/7.3.4/ocommon/nls/admin/data
HOME=/usr/ora734/app/oracle
TERM=vt100
ORACLE_HOME=/usr/ora734/app/oracle/product/7.3.4
PWD=/usr/ora734/app/oracle
TZ=CST-8

sco unix 为:SCO OPENSERVER 5.0.5
oracle为:oracle7

我刚开始学习,谢谢大家了
作者: beilycao    时间: 2007-08-20 20:57
我查了下资料,可能有以下问题需要注意:
1、dba、oralce目录的权限问题是否设置正确。
2、环境变量应该没有问题。
3、安装步骤是否正确。
4、sco补丁是否全部打好,如oss459B等
5、oracle需要安装以下组件:
     Oracle Intelligent Agent
        Oracle Distributed DB
        Oracle XA Library
        Oracle On-Line Text Viewer
        Oracle Unix install
        Oracle Server 7.3.4 DBMS
        PL/SQL
        SQL*NET
        Pro*C
         SQL *Module for C
        QL*Plus
        TCP/IP
你再安装一次。看是否还有问题。
作者: cwj79410    时间: 2007-08-20 22:44
看看这个文件ntcontab.o
及目录 /usr/ora734/app/lib
作者: ytwyg    时间: 2007-08-29 17:38
我的这个问题还没有解决呀,大家帮顶顶




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2