redhat 4 下安装oracle9204安装到63%的时候报错:Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mk
在/u01/app/oracle/oraInventory/logs目录下找到安装日志
[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.out部分安装日志信息:
Starting install link phase of component Enterprise Edition Options
Starting install link phase of component Oracle9i DatabaseCalling action unixActions2.2.0.18.0 makeinstallMakePath = /usr/bin/makeinstallMakeFileName = /u01/app/oracle/product/9.2.0/db_1/network/lib/ins_net_client.mkinstallTarget = client_sharedlibundoMakeFileName =installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.logundoTarget =Calling action unixActions2.2.0.18.0 make
installMakePath = /usr/bin/makeinstallMakeFileName = /u01/app/oracle/product/9.2.0/db_1/network/lib/ins_net_client.mkinstallTarget = mkldflagsundoMakeFileName =installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.logundoTarget =Calling action unixActions2.2.0.18.0 make
installMakePath = /usr/bin/makeinstallMakeFileName = /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mkinstallTarget = installundoMakeFileName =installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0/db_1,logFile = /u01/app/oracle/product/9.2.0/db_1/install/make.logundoTarget =Exception thrown from action: make
Exception Name: MakefileExceptionException String: Error in invoking target install of makefile /u01/app/oracle/product/9.2.0/db_1/plsql/lib/ins_plsql.mk通过查询,可以通过对gcc进行手动改名的方式即可正常安装。
解决过程:
[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