PBS Setup - Database Header Not Found

I am trying to install PBS on CentOS 7 but configure stopped at this point:

checking for PBS database directory... configure: error: Database headers not found.

I don’t know what I should do now. Any help? Thanks.

You can install the missing dependencies using -
yum-builddep pbspro.spec on CentOS.
For detailed instruction, please refer the INSTALL guide.

Looks like developer packages for postgres is missing, please check if postgresql-devel-9.2.18-1.el7.x86_64 is installed.