Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Release:
5.4
Codename:
Tikanga
[root@oracle oralce10]#
Oracle 10.2.0.1 x86_64
错误现象:
在安装环境检测部分全部通过,之后就出现如下图错误:
Error in invoking target 'ntcontab.o' of makefile '/home/oracle/oracle/product/10.2.0/db_2/network/lib/ins_net_client.mk'.
日志最后一部分:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Calling Action unixActions10.2.0.1.0 make
installMakePath = /usr/bin/make
installMakeFileName = /home/oracle/oracle/product/10.2.0/db_2/network/lib/ins_net_client.mk
installTarget = ntcontab.o
installArguments = ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_2,
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = /home/oracle/oracle/product/10.2.0/db_2/install/make.log
progMsg = Linking ntcontab
INFO: The output of this make operation is also available at: '/home/oracle/oracle/product/10.2.0/db_2/install/make.log'
INFO:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: rm -f ntcontab.*
INFO: (if [ "compile" = "compile" ] ; then \
/home/oracle/oracle/product/10.2.0/db_2/bin/gennttab > ntcontab.c ;\
gcc -c ntcontab.c ;\
rm -f /home/oracle/oracle/product/10.2.0/db_2/lib/ntcontab.o ;\
mv ntcontab.o /home/oracle/oracle/product/10.2.0/db_2/lib/ ;\
INFO: /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_2/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_2/lib/ntcontab.o ; fi)
INFO: gcc
INFO: : error trying to exec '
INFO: cc1
INFO: ':
INFO: execvp
INFO: :
INFO: No such file or directory
INFO:
INFO: mv: cannot stat `ntcontab.o': No such file or directory
INFO: /usr/bin/ar: /home/oracle/oracle/product/10.2.0/db_2/lib/ntcontab.o: No such file or directory
INFO: make: *** [ntcontab.o] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ntcontab.o' of makefile '/home/oracle/oracle/product/10.2.0/db_2/network/lib/ins_net_client.mk'. See '/home/oracle/oraInventory/logs/installActions2011-03-20_10-36-30AM.log' for details.
Exception Severity: 1
解决方法:
安装GCC-C++