2011-09-06

Cannot find a rule to create target install from dependencies

"Relink All" On AIX5L Reports "Make: 1254-002 Cannot Find A Rule To Create Target Install From Dependencies" [ID 602079.1]


Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.4
AIX5L Based Systems (64-bit)

Symptoms

You have installed Oracle9i Release 2 (9.2.0.x), Oracle10g Release 1 (10.1.0.x) or Oracle10g Release 2 (10.2.0.x) on an AIX5L server
No relinking errors occurred during the software installation, but when you perform a "relink all" the following error message can be seen in the output:
make: 1254-002 Cannot find a rule to create target install from dependencies.

Cause

When called with the "all" parameter, the $ORACLE_HOME/bin/relink script looks for all make files under the $ORACLE_HOME with the format ins_*.mk and then runs the command:
    make -f <filename> install
for each make file that was found.
For example,
    make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk install
This error occurs because the script found $ORACLE_HOME/network/lib32/ins_emdw.mk but did not find the 'install' target inside the make file, because the make file is actually zero bytes
Support have filed a bug for this issue, but the bug is not yet published

Solution

The warning message can be safely ignored but, to prevent the message from occurring again, the file can be renamed:
% cd $ORACLE_HOME/network/lib32
% mv ins_emdw.mk ins_emdw.mk_bad

Niciun comentariu:

Trimiteți un comentariu