Perl Module + postgres 7.0.2 - Mailing list pgsql-general

From Dave Camarillo
Subject Perl Module + postgres 7.0.2
Date
Msg-id 403933C2F6A1D311A33C00A0C9E477754C3BCF@elbonia.metro1.com
Whole thread Raw
List pgsql-general
I'm trying to get the perl to work with PgSQL as a client app, however when
I go to compile the Postgres 1.4 module,
It comes up with the error

cc -c -I/usr/local/postgres95/include -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" -fpic -I/usr/local/pgsql/include
-I/usr/local/lib/perl5/5.6.0/i686-linux/CORE  Postgres.c
Postgres.xs: In function `XS_PGconnPtr_getline':
Postgres.xs:148: `sv_undef' undeclared (first use in this function)
Postgres.xs:148: (Each undeclared identifier is reported only once
Postgres.xs:148: for each function it appears in.)
Postgres.xs: In function `XS_QUERYPtr_fetchrow':
Postgres.xs:339: `sv_undef' undeclared (first use in this function)
make: *** [Postgres.o] Error 1

I'm running perl 5.005 and postgres 7.0.2....any ideas?
Note...the postgres95 directory does not exist as I'm runing 7.0.2...does
this have any affect on it?

Thanks
Dave


pgsql-general by date:

Previous
From: "Darrin Ladd"
Date:
Subject: Re: How to display a user-defined function?
Next
From: Tom Lane
Date:
Subject: Re: EXCEPT call not working