--> Working on DBD::Pg Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.1.tar.gz -> OK Unpacking DBD-Pg-3.5.1.tar.gz Entering DBD-Pg-3.5.1 Checking configure dependencies from META.yml Checking if you have DBI 1.614 ... Yes (1.632) Checking if you have version 0 ... Yes (0.9902) Configuring DBD-Pg-3.5.1 Running Makefile.PL Configuring DBD::Pg 3.5.1 You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. Enter a valid PostgreSQL postgres major version number Enter a valid PostgreSQL postgres minor version number Enter a valid PostgreSQL postgres patch version number You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. Enter a valid PostgreSQL postgres bin dir You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. Enter a valid PostgreSQL postgres include dir No POSTGRES_HOME defined, cannot find automatically -> N/A -> FAIL Configure failed for DBD-Pg-3.5.1. See /home/hengaini/.cpanm/work/1430800299.6291/build.log for details. #### # add by hengaini 20150113 POSTGRES_HOME='/usr/lib/postgresql/9.4'