Re: Build7.0.2 with perl Pg.pm fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: danny(at)lennon(dot)postino(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Build7.0.2 with perl Pg.pm fails
Date: 2000-08-23 03:26:38
Message-ID: 23859.967001198@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

danny(at)lennon(dot)postino(dot)com writes:
> I am trying to install Postgresql7.0.2 with perl support
> for Pg.pm . I ran configure --with-perl OK, but during the
> make it fails with:

> Pg.xs: In function `XS_Pg_PQprint':
> Pg.xs:584: `na' undeclared (first use in this function)

Odd. These errors look like the known issues with Perl's
self-inflicted incompatibility introduced somewhere around
5.005. Our experience so far is that configuring the perl5
interface like this:
perl Makefile.PL POLLUTE=1
makes it work under both newer and not-so-new Perls. 7.0
and later should have the POLLUTE=1 hack built in (see
src/interfaces/Makefile). Did you maybe have an obsolete
version of src/interfaces/perl5/Makefile hanging about?

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message John McKown 2000-08-23 11:53:02 capturing all output of a psql command?
Previous Message ghaverla 2000-08-23 00:29:20 More fun installing 7 from source