Error in invoking target install of makefile ins_plsql.mk

redhat 4 下安装oracle9204安装到63%的时候报错:Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mksql

wKiom1LiXQyyIWtQAAGWP5e7m9w996.jpg

在/u01/app/oracle/oraInventory/logs目录下找到安装日志oracle

[root@prod logs]# ll
total 3140
-rw-rw-r– 1 oracle oinstall 222272 Jul 17 23:17 installActions2012-07-17_11-15-34PM.log
-rw-r–r– 1 oracle oinstall 2294 Jul 17 23:17 installActions2012-07-17_11-17-13PM.log
-rw-rw-r– 1 oracle oinstall 2969018 Jul 18 11:21 installActions2012-07-18_10-59-05AM.log
-rw-rw-r– 1 oracle oinstall 6859 Jul 17 23:17 oraInstall2012-07-17_11-17-13PM.err
-rw-rw-r– 1 oracle oinstall 0 Jul 17 23:17 oraInstall2012-07-17_11-17-13PM.out
-rw-rw-r– 1 oracle oinstall 0 Jul 18 10:59 oraInstall2012-07-18_10-59-05AM.err
-rw-rw-r– 1 oracle oinstall 0 Jul 18 10:59 oraInstall2012-07-18_10-59-05AM.outapp

部分安装日志信息:ide

Starting install link phase of component Enterprise Edition Options
Starting install link phase of component Oracle9i Database
Calling action unixActions2.2.0.18.0 make
installMakePath = /usr/bin/make
installMakeFileName = /u01/app/oracle/product/9.2.0/db_1/network/lib/ins_net_client.mk
installTarget = client_sharedlib
undoMakeFileName =
installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,
logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.log
undoTarget =spa

Calling action unixActions2.2.0.18.0 make
installMakePath = /usr/bin/make
installMakeFileName = /u01/app/oracle/product/9.2.0/db_1/network/lib/ins_net_client.mk
installTarget = mkldflags
undoMakeFileName =
installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,
logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.log
undoTarget =unix

Calling action unixActions2.2.0.18.0 make
installMakePath = /usr/bin/make
installMakeFileName = /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mk
installTarget = install
undoMakeFileName =
installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,
logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.log
undoTarget =日志

Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mkcomponent

经过查询,能够经过对gcc进行手动更名的方式便可正常安装。blog

解决过程:get

[root@prod bin]# pwd
/usr/bin
[root@prod bin]# ls -ltr gcc
-rwxr-xr-x 2 root root 96328 May 24 2006 gcc
[root@prod bin]# mv /usr/bin/gcc /usr/bin/gcc.bak
[root@prod bin]# ls -ltr gcc32
-rwxr-xr-x 2 root root 86364 Dec 2 2004 gcc32
[root@prod bin]# mv /usr/bin/gcc32 /usr/bin/gcc

点重试,可正常安装,安装完毕后把gcc给改回来

[root@prod bin]# mv /usr/bin/gcc /usr/bin/gcc32

[root@prod bin]# mv /usr/bin/gcc.bak /usr/bin/gcc