I am trying to make oracle pro*c demo program work on fedora 64-bit OS with express edition of oracle 11.2. When make file of the demo program is run, oracle precompiler gives the following error and aborts:
PCC-F-NOERRFILE, unable to open error message file, facility PR2
Here is the complete output of the pre-compiler:
$ make -f demo_proc_ic.mk
rm -rf SunWS_cachea
rm -rf ../../libclntsh.so
rm -rf procdemo procdemo.o procdemo.c procdemo.lis
make -f demo_proc_ic.mk build OBJS=procdemo.o EXE=procdemo
make[1]: Entering directory `/home/mvsagar/oracle/instantclient_11_2/sdk/demo'
rm -rf SunWS_cachea
rm -rf ../../libclntsh.so
make -f demo_proc_ic.mk PROCFLAGS="" PCCSRC=procdemo I_SYM=include= pc1
make[2]: Entering directory `/home/mvsagar/oracle/instantclient_11_2/sdk/demo'
../proc iname=procdemo include=. sys_include=\(../include,/usr/include,/usr/lib/gcc- lib/x86_64-redhat-linux/3.2.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include,/usr/lib64/gcc/x86_64-suse-linux/4.1.2/include,/usr/lib64/gcc/x86_64-suse-linux/4.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include,/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include\)
PCC-F-NOERRFILE, unable to open error message file, facility PR2
make[2]: *** [pc1] Error 1
make[2]: Leaving directory `/home/mvsagar/oracle/instantclient_11_2/sdk/demo'
make[1]: *** [procdemo.o] Error 2
make[1]: Leaving directory `/home/mvsagar/oracle/instantclient_11_2/sdk/demo'
make: *** [procdemo] Error 2
As such XE works. I could create a table using sqlplus. I have downloaded and installed instant client basic and precompiler zips for 64 bit linux.
Any idea if I have to install anything else? Or any other settings I have to make?