Subject: | from gborg: Build fails with `SQL_TYPE_TIMESTAMP' undeclared |
[ this bug has been migrated from Gborg. A new comment is at the bottom. ]
Environment:
DBD-Pg-1.31 & DBD-Pg-1.32 building on Redhat Enterprise Linux ES 2.1 with postgresql-7.4.1-1PGDG postgresql-libs-7.4.1-1PGDG
postgresql-devel-7.4.Description:
gcc -c -I/usr/include -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -DHAVE_PQescapeString -DHAVE_PQescapeBytea -DHAVE_PQunescapeBytea -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -fPIC -I/usr/lib/perl5/5.6.1/i386-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 11-1PGDG
postgresql-pl-7.4.1-1PGDG
postgresql-server-7.4.1-1PGDG rpms installed.
###################
This is a bad bug and *might* be fixed in CVS. Please help us check by trying this recent snapshot from CVS:
http://mark.stosberg.com/perl/DBD-Pg-cvs-2004-09-24.tgz