Users must change makefiles or scripts that call proc. The proc command line must have each nonstandard include pathname specified. For example:
$ proc iname=xyz.pc include=/home/jones/include
$ cc -I/home/jones/include xyz.c
An alternative approach is to enter the following line in the $ORACLE_HOME/proc/pmscfg.h file:
include=/home/jones/include
The pmsfg.h file has default system-wide command line arguments for proc.
To precompile, compile, and link the sample C program, enter:
$ make -f $ORACLE_HOME/proc/lib/proc.mk sample1
You can now enter additional employees in the demonstration database.
$ make -f $ORACLE_HOME/proc/lib/proc.mk userprog
Note: If your program depends on non-Oracle libraries, you may have to alter proc.mk to include them.