Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.

From: Noah Misch <noah(at)leadboat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>
Subject: Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.
Date: 2021-10-10 19:55:43
Message-ID: 20211010195513.GA88780@gust.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sun, Oct 10, 2021 at 01:17:10PM -0400, Tom Lane wrote:
> However, back to the matter of the recipe. I'm feeling discouraged
> again because experimentation shows that cpanm insists on updating
> the ExtUtils suite to current while installing Test::Simple. You
> can then downgrade that, but it's not a complete fix, because there
> are some new ExtUtils modules that don't get uninstalled. There's
> also assorted CPAN infrastructure left behind.
>
> The closest I can get to what we want using cpanm is with this recipe:
>
> cpanm install Test::Simple(at)0(dot)87_01
> cpanm install IPC::Run(at)0(dot)79
> cpanm install ExtUtils::MakeMaker(at)6(dot)50 # downgrade
>
> (Note: the actual prerequisite of this release of Test::Simple seems
> to be "> 6.30", but the first such version that actually passes its
> own tests for me is 6.50. FWIW, prairiedog currently has 6.59.)

While the MakeMaker litter is annoying, I'm not too worried about it. The
only other thing I'd consider is doing the MakeMaker 6.50 install before
Test::Simple, not after. Then you don't pull in additional dependencies of
post-6.50 MakeMaker, if any.

On Sun, Oct 10, 2021 at 02:42:11PM -0400, Tom Lane wrote:
> Upon trying to actually use the perlbrew installation, I discovered
> another oversight in the recipe: at least with old perl versions,
> you end up with a non-shared libperl, so that --with-perl fails.
>
> That leads me to the attached revision...

Looks good. Thanks.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-10-10 20:10:38 Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.
Previous Message Tom Lane 2021-10-10 18:42:11 Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-10-10 20:10:38 Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.
Previous Message Peter Eisentraut 2021-10-10 19:48:09 Re: Adding CI to our tree