pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Craig Ringer <craig.ringer@enterprisedb.com>
Subject: Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.
Date: Sun, 10 Oct 2021 15:55:43 -0400
Message-ID: <20211010195513.GA88780@gust.leadboat.com> (raw)
In-Reply-To: <318519.1633891331@sss.pgh.pa.us>
References: <20211008042454.GB398563@rfd.leadboat.com>
	<03177128-BE87-4520-90D1-D5FA16B79EB6@yesql.se>
	<234637.1633709021@sss.pgh.pa.us>
	<20211009192333.GA450252@rfd.leadboat.com>
	<245162.1633808657@sss.pgh.pa.us>
	<20211009195947.GB450252@rfd.leadboat.com>
	<247872.1633811686@sss.pgh.pa.us>
	<20211010022553.GB458218@rfd.leadboat.com>
	<313640.1633886230@sss.pgh.pa.us>
	<318519.1633891331@sss.pgh.pa.us>

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@0.87_01
>     cpanm install IPC::Run@0.79
>     cpanm install ExtUtils::MakeMaker@6.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.





view thread (33+ messages)  latest in thread

Message-ID: <20211010195513.GA88780@gust.leadboat.com>
Permalink:  ../20211010195513.GA88780@gust.leadboat.com/
Also on:    postgresql.org/message-id/20211010195513.GA88780@gust.leadboat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, tgl@sss.pgh.pa.us, daniel@yesql.se, pgsql-hackers@lists.postgresql.org, craig.ringer@enterprisedb.com
  Subject: Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.
  In-Reply-To: <20211010195513.GA88780@gust.leadboat.com>
  References: <20211008042454.GB398563@rfd.leadboat.com> <03177128-BE87-4520-90D1-D5FA16B79EB6@yesql.se> <234637.1633709021@sss.pgh.pa.us> <20211009192333.GA450252@rfd.leadboat.com> <245162.1633808657@sss.pgh.pa.us> <20211009195947.GB450252@rfd.leadboat.com> <247872.1633811686@sss.pgh.pa.us> <20211010022553.GB458218@rfd.leadboat.com> <313640.1633886230@sss.pgh.pa.us> <318519.1633891331@sss.pgh.pa.us> <20211010195513.GA88780@gust.leadboat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox