Re: BUG #5339: Version of Perl detected incorrectly - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #5339: Version of Perl detected incorrectly
Date
Msg-id 20100222200459.GJ4629@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #5339: Version of Perl detected incorrectly  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-bugs
Alex Hunsaker escribió:
> On Mon, Feb 22, 2010 at 10:57, Jonathan <jonathan@leto.net> wrote:

> > checking for perl... /home/leto/bin/perl
> > configure: using perl
> > configure: WARNING:
> > *** The installed version of Perl, /home/leto/bin/perl, is too old to use
> > with PostgreSQL.
> > *** Perl version 5.8 or later is required, but this is .
>
> Yeah find the below which attempts to clean this up a bit.  Instead of
> parsing perl -v output, we just "use" the min required version and
> rely on perl error out for us.   Its also more or less what we do at
> runtime in plc_perl_boot.pl now.

You need to patch configure.in.  configure is a generated file.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: BUG #5339: Version of Perl detected incorrectly
Next
From: Tim Bunce
Date:
Subject: Re: BUG #5339: Version of Perl detected incorrectly