Operating System - HP-UX
1753396 Members
7552 Online
108792 Solutions
New Discussion юеВ

Re: Make: Cannot open procob.mk. Stop.

 
Engo Armand-Blaise
Frequent Advisor

Make: Cannot open procob.mk. Stop.

I'm running Oracle 8i now on HP-UNIX B11.00.
Just a question after this following :

$ make -f procob.mk build COBS="sample1.cob sample2.cob" EXE=sample add PCCFLAGS > link.lib
Make: Cannot open procob.mk. Stop.
=============================================
May I need to create the "procob.mk" file as I have already "env_precomp.mk" file?

In order term, if no, what to do exactely?

=============================================

Thanks.

Engo Armand-Blaise.

25 REPLIES 25
Ian Lochray
Respected Contributor

Re: Make: Cannot open procob.mk. Stop.

AT 8.1.7, ProCOBOL comes with the sample Makefile $ORACLE_HOME/precomp/demo/procob/demo_procob18.mk. Try changing procob.mk to demo_procob18.mk in your make command.
T G Manikandan
Honored Contributor

Re: Make: Cannot open procob.mk. Stop.

First thing is that ins_precomp.mk is used for building the precompiler executables.That is enough.

There is no need to create procob.mk
You need to add the path to the existing PATH
$ORACLE_HOME/procob/demo
$ORACLE_HOME/proc/lib

Thanks
Engo Armand-Blaise
Frequent Advisor

Re: Make: Cannot open procob.mk. Stop.

I've done it but what is wrong with procob18?

$ make -f demo_procob18.mk build EXE=sample2 COBS=sample2.cob > link.lib
sh: procob18: not found.

Stop.
Ian Lochray
Respected Contributor

Re: Make: Cannot open procob.mk. Stop.

procob18 should be in $ORACLE_HOME/bin. If is it not then it has not been installed. If it is then you need to check your PATH.
T G Manikandan
Honored Contributor

Re: Make: Cannot open procob.mk. Stop.

procob18 is an executable.If that is not there then the option of installating the pre-compilers was not selected.

Run the Installer again to choose that specific product.

Thanks
Engo Armand-Blaise
Frequent Advisor

Re: Make: Cannot open procob.mk. Stop.

Sorry to be back late.

The "procob18" is well installed in the $ORACLE_HOME/bin.

The following command gives me this message :

$ make -f procob.mk build COBS="sample1.cob sample2.cob" EXE=sample add PCCFLAGS > link.lib

========================================
/usr/lib/dld.sl: Can't find path for shared library: libwtc8.sl
/usr/lib/dld.sl: No such file or directory
sh: 27983 Abort(coredump)

Stop
==============================================

cyb_hpux [ /cyborg/app/oracle/product/817/precomp/demo/procob ] $ more link.lib
procob18 iname=sample2.pco
*** Error exit code 134
==============================================
What do you suggest me?



Yogeeraj_1
Honored Contributor

Re: Make: Cannot open procob.mk. Stop.

hello,

Make sure of the following:
$LD_LIBRARY_PATH - includes $ORACLE_HOME/lib64, but not $ORACLE_HOME/lib
$SHLIB_PATH - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib64

And retry...

Hope this helps!

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: Make: Cannot open procob.mk. Stop.

hi again,

are you running HP-UX Oracle 64-bits or 32-bits

also, your HP-UX 11?

please let us know

Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Engo Armand-Blaise
Frequent Advisor

Re: Make: Cannot open procob.mk. Stop.

I'm running HP B11 with 32 bits... So the make file to create is not successful. This is the profile's path I have :
ORACLE_HOME=/cyborg/app/oracle/product/817 ; export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
PATH=$PATH:$ORACLE_HOME/bin ; export PATH
# Set Cobol Environment

LPATH=/usr/lib:/opt/cobol/cobdir; export LPATH
SHLIB_PATH=/opt/cobol/cobdir/coblib ; export SHLIB_PATH

=============================================

I hope this will help.

Thanks.