Before installing, please use the "cpansign -v" program to cryptographically
verify that your copy of DBD::Pg is complete and valid. The program
"cpansign" is part of Module::Signature, available from CPAN.
By default Makefile.PL uses App::Info to find the location of the
PostgreSQL library and include directories. However, if you want to
control it yourself, define the environment variables POSTGRES_INCLUDE
and POSTGRES_LIB, or define just POSTGRES_HOME. Note that if you have
compiled PostgreSQL with SSL support, you must define the POSTGRES_LIB
environment variable and add "-lssl" and "-lcrypto" to it, like this:
1. perl Makefile.PL
2. make
3. make test
4. make install
Do steps 1 to 2 as a normal user, not as root!
If the script cannot find the pg_config information itself, it will
ask you for the path to it. Enter the complete path to the pg_config
file here, including the name of the file itself.
说白了,基本步骤就是四点:
1. perl Makefile.PL
2. make
3. make test
4. make install
另外加上一个前提,就是编译之前要指定相应的环境变量,使编译过程中能够找到相应的动态库。
我在安装的时候,也遇到和你类似的问题。不知道你遇到过不
===========================================
configuring DBD::Pg
Remember to actually read the README file
Path to pg_configuring?
===========================================