frankdew has asked for the wisdom of the Perl Monks concerning the following question:
The first time, it fails with the following message:system("sudo aptitude update"); if ( $? == -1 ) { print "sudo aptitude update failed: $!\n"; exit; } system("sudo aptitude install postgresql-server-dev-8.3"); if ( $? == -1 ) { print "sudo aptitude install postgresql-server-dev-8.3 failed: $!\n" +; exit; } use CPAN; CPAN::Shell->install("DBI"); CPAN::Shell->install("DBD::Pg"); ----------
Running make test
PGINITDB="/usr/lib/postgresql/8.3/bin/initdb" PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-signature......skipped
all skipped: Set the environment variable TEST_SIGNATURE to enable this test
t/00basic...........NOK 2
# Failed test 'use DBD::Pg;
# at t/00basic.t line 14.
# Tried to use 'DBD::Pg'.
# Error: DBD::Pg object version undef does not match bootstrap parameter 2.15.1 at /usr/lib/perl/5.8/DynaLoader.pm line 245.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
FAILED--Further testing stopped: Cannot continue without DBD::Pg
make: *** test_dynamic Error 9
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trouble installing DBD::Pg
by Anonymous Monk on Aug 15, 2009 at 00:47 UTC | |
by frankdew (Initiate) on Aug 24, 2009 at 14:18 UTC | |
by Anonymous Monk on Aug 24, 2009 at 14:26 UTC | |
by frankdew (Initiate) on Aug 25, 2009 at 17:07 UTC | |
by Anonymous Monk on Oct 09, 2009 at 16:53 UTC | |
|
Re: Trouble installing DBD::Pg
by markjugg (Curate) on Dec 30, 2011 at 19:16 UTC | |
|
Re: Trouble installing DBD::Pg
by Anonymous Monk on Jun 01, 2010 at 22:13 UTC |