Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group