Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 6433
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: bryce1 [...] obviously.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.32_2
Fixed in: 1.32_2



Subject: Won't install `SQL_TYPE_TIMESTAMP' undeclared
cc -c -I/usr/local/pgsql-7.3.4/include -I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_PQescapeString -DHAVE_PQescapeBytea -DHAVE_PQunescapeBytea -O2 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE dbdimp.c cc -c -I/usr/local/pgsql-7.3.4/include -I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_PQescapeString -DHAVE_PQescapeBytea -DHAVE_PQunescapeBytea -O2 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE quote.c cc -c -I/usr/local/pgsql-7.3.4/include -I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_PQescapeString -DHAVE_PQescapeBytea -DHAVE_PQunescapeBytea -O2 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE types.c types.c:60: `SQL_TYPE_TIMESTAMP' undeclared here (not in a function) types.c:60: initializer element is not constant types.c:60: (near initialization for `pg_types[37].type.pg') types.c:61: `SQL_TYPE_TIMESTAMP_WITH_TIMEZONE' undeclared here (not in a function) types.c:61: initializer element is not constant types.c:61: (near initialization for `pg_types[38].type.pg') make: *** [types.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Show quoted text
> uname -a
Linux halo.corp.nextbus.com 2.4.18-27.7.xsmp #1 SMP Fri Mar 14 05:52:30 EST 2003 i686 unknown
On same system, v1.22 was ok.
I get that older version to work, but then see: t/13pgtype..........ok t/15funct...........ok 4/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 701 . t/15funct...........NOK 6# Failed test (t/15funct.t at line 65) Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 808. t/15funct...........ok 25/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 26/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 28/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 60 5. t/15funct...........ok 31/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 32/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 33/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 34/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 35/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 36/59Argument "7.3.4" isn't numeric in numeric lt (<) at blib/lib/DBD/Pg.pm line 70 1. t/15funct...........ok 37/59Can't locate object method "column_info" via package "DBI::db" (perhaps you fo rgot to load "DBI::db"?) at t/15funct.t line 209. Database handle destroyed without explicit disconnect. # Looks like you planned 59 tests but only ran 37. # Looks like your test died just after 37. t/15funct...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 6, 38-59 Failed 23/59 tests, 61.02% okay (less 6 skipped tests: 30 okay, 50.85%) t/99cleanup.........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/15funct.t 255 65280 59 23 38.98% 6 38-59 9 subtests skipped. Failed 1/17 test scripts, 94.12% okay. 23/186 subtests failed, 87.63% okay. gmake: *** [test_dynamic] Error 11