Re: PL/Perl compilation error - Mailing list pgsql-general

From Tom Lane
Subject Re: PL/Perl compilation error
Date
Msg-id 1269.967913326@sss.pgh.pa.us
Whole thread Raw
In response to PL/Perl compilation error  (Alex Guryanow <gav@nlr.ru>)
Responses Re: PL/Perl compilation error  (Jan Wieck <janwieck@Yahoo.com>)
Re: PL/Perl compilation error  (Jan Wieck <janwieck@Yahoo.com>)
List pgsql-general
Alex Guryanow <gav@nlr.ru> writes:
> [root@eaccess plperl]# perl Makefile.PL

For recent Perl versions you need to do
        perl Makefile.PL POLLUTE=1
instead.  The src/pl Makefile would've done it that way for you,
but it looks like that code patch didn't make it to the docs...

Someone needs to update our Perl code so that it will compile cleanly
against both newer and not-so-new Perls.  There are notes in our mail
archives about how to do this (basically "use Devel::PPPort" is the
long-term answer) but it hasn't gotten to the top of anyone's to-do
list.

            regards, tom lane

pgsql-general by date:

Previous
From: Alex Guryanow
Date:
Subject: PL/Perl compilation error
Next
From: Martin Christensen
Date:
Subject: Re: [Solved] SQL Server to PostgreSQL