Perl 安装模块失败 (已解决)

Perl 安装模块失败 (已解决)

install_driver(PgPP) failed: Can't locate DBD/PgPP.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 6) line 3.
Perhaps the DBD:gPP perl module hasn't been fully installed,
or perhaps the capitalisation of 'PgPP' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql.
at /home/postgres/MITSIMLAB/DuplicateCars.pl line 64

Can't locate DBD/PgPP/pm?
我需要去寻找DBD-PgPP,然后解压安装吗?以解决

以下是我在 /usr/lib/perl5 下的东西:
5.8.5  5.8.6  5.8.7  5.8.8  site_perl  Text  vendor_perl

我用rpm -qa |grep perl 命令可以显示以下内容:
perl-Test-Harness-2.56-17
perl-XML-SAX-0.13-1.1
perl-XML-NamespaceSupport-1.09-1.2
perl-Test-Simple-0.62-17
perl-DBI-1.53-2
perl-Compress-Zlib-1.41-1.2.3
perl-5.8.8-17
perl-devel-5.8.8-17
perl-SGMLSpm-1.03ii-16.2
perl-HTML-Tagset-3.10-2.1
perl-HTML-Parser-3.50-1
perl-CPAN-1.76_02-17
perl-XML-Simple-2.14-2.1
perl-DBD-MySQL-3.0008-1
perl-libwww-perl-5.805-1.1
perl-ExtUtils-MakeMaker-6.30-17
perl-XML-LibXML-Common-0.13-8.2.1
perl-libs-5.8.8-17
groff-perl-1.18.1.1-10
perl-libxml-perl-0.08-1.2
perl-ExtUtils-Embed-1.26-17
perl-suidperl-5.8.8-17
perl-XML-LibXML-1.58-2.2.2
perl-URI-1.35-2.2
openssl-perl-0.9.8e-14
perl-XML-Parser-2.34-6.1.2.2

大家觉得我安装出错跟perl 的安装有关吗?
Can't locate DBD/PgPP.pm

这一句不是很明显的告诉你,有模块找不到么
谢谢楼上的socyno~~
模块找不到,那我要怎么处理呢?
呵呵,不好意思,刚刚接触到linux和perl,所以不太懂,问的问题有点白痴,见谅啦~~
麻烦大家帮帮忙,谢谢啦~~~
我在cpan下用install A/AR/ARC/DBD-Pg-0.05.tar.gz最后出现的错误:
  CPAN.pm: Going to build A/AR/ARC/DBD-PgPP-0.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for DBD:gPP
make: *** 没有规则可以创建目标“yes”。 停止。
  /usr/bin/make yes -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossibl

为什么都是无法make呢?是我的编译器的问题吗?

我在cpan下用install A/AR/ARC/DBD-Pg-0.05.tar.gz最后出现的错误:
  CPAN.pm: Going to build A/AR/ARC/DBD-PgPP-0.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for DBD:gPP
make: *** 没有规则可以创建目标“yes”。 停止。
  /usr/bin/make yes -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossibl

为什么都是无法make呢?是我的编译器的问题吗?
呵呵,不好意思,之前是我系统的问题,我之前重装GCC有点问题,重装电脑后没问题了,CPAN可以正常使用了.