Re: BUG #5339: Version of Perl detected incorrectly

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: Jonathan <jonathan(at)leto(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5339: Version of Perl detected incorrectly
Date: 2010-02-22 20:04:59
Message-ID: 20100222200459.GJ4629@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alex Hunsaker escribió:
> On Mon, Feb 22, 2010 at 10:57, Jonathan <jonathan(at)leto(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tim Bunce 2010-02-22 20:05:16 Re: BUG #5339: Version of Perl detected incorrectly
Previous Message pradeep 2010-02-22 19:51:46 BUG #5340: Requirement of different syntax on different OS