1. make sure heartbeat was installed.
2. make sure psql can be used and in $PATH.
3. make sure pgpool can be used and in $PATH.
4.

# ./configure
# cd src
# make
# make install

OCF-style pgpool control script 'pgpool' will be installed in /usr/lib/ocf/resource.d/heartbeat , and monitoring script 'pgpool.monitor' will be installed in same directory as pgpool.


