Operating System - HP-UX
1753288 Members
5190 Online
108792 Solutions
New Discussion

Re: HP-UX make command parameter,

 
SOLVED
Go to solution
juana crudup-wheeler
Occasional Contributor

HP-UX make command parameter,

Does make command have a maximum length parameter?


The "relink all" command fails for oracle when it try to link sqlplus

*** Error exit code 1 (ignored)
/bin/chmod 751 /orasw/app/oracle/product/10.2/bin/sqlplus
chmod: can't access /orasw/app/oracle/product/10.2/bin/sqlplus
*** Error exit code 1 (ignored)

Then we narrow it down to the following command in relink is causing the problem:

make -f /orasw/app/oracle/product/10.2/sqlplus/lib/ins_sqlplus.mk install

If we execute the above command, it will fail with the same error message.

However if we do the following instead:

cd /orasw/app/oracle/product/10.2/sqlplus/lib
make -f ins_sqlplus.mk install

Our senior oracle dba is reasonable sure that the "make" command is being passed more characters than it can handle.

Can someone please tell me if there is a length parameter for make and why the make command is failing.
1 REPLY 1
Dennis Handly
Acclaimed Contributor
Solution

Re: HP-UX make command parameter,

All commands have a maximum length. But this should be around 1 Mb.

>why the make command is failing.

make(1) isn't failing. It is aborting because chmod is failing.
Does /orasw/app/oracle/product/10.2/bin/sqlplus exist?
Are all of the components in this path read/write/executable for this user?

>However if we do the following instead:
cd /orasw/app/oracle/product/10.2/sqlplus/lib
make -f ins_sqlplus.mk install

Yes, then what? Doing this here won't do the same thing, since you are in a different directory.

>Our senior oracle DBA is reasonably sure that the "make" command is being passed more characters than it can handle.

If you can't count the characters in your life time, then there are too many. :-)