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
在/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