pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org, PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Record full paths of programs sought by "configure".
Date: Mon, 7 Aug 2017 16:32:22 -0400
Message-ID: <e5114c3e-b026-495c-6249-a8ebbef4d632@2ndQuadrant.com> (raw)
In-Reply-To: <12321.1502137246@sss.pgh.pa.us>
References: <E1dcE5n-0005Sk-UE@gemulon.postgresql.org>
	<d6ca14d4-a475-6496-48b6-d9f58b29a875@2ndQuadrant.com>
	<7295.1502133694@sss.pgh.pa.us>
	<90c39664-ec60-77dc-9f1b-21e8fa7b864c@2ndQuadrant.com>
	<10269.1502134598@sss.pgh.pa.us>
	<2a8e30d4-d584-1d74-6efa-100112062333@2ndQuadrant.com>
	<11702.1502136420@sss.pgh.pa.us>
	<51fca142-5ead-7f57-1798-2e02972b27c1@2ndQuadrant.com>
	<12321.1502137246@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>



On 08/07/2017 04:20 PM, Tom Lane wrote:
> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>> On 08/07/2017 04:07 PM, Tom Lane wrote:
>>> Sorry, I was imprecise.  What I'm suggesting is that you drop the
>>> runtime PATH-foolery and instead put this in configure's environment:
>>>
>>> PROVE=$perlpathdir/prove
>>>
>>> Otherwise you're basically lying to configure about what you're going
>>> to use, and that's always going to break eventually.
>> Hmm, you're saying this should work now? OK, I'll try it when I get a
>> minute to spare.
> I'm pretty sure it's always worked, at least in the sense that you could
> override what configure would put into Makefile.global that way.  I'm not
> quite clear on whether providing an exact path to "prove" there is enough
> to fix your problem.  If we have any places where we need to invoke the
> corresponding version of "perl", then we have more things to fix.


I'm pretty sure that's all we need. But we can find out ;-)


>
>>> Hm, yeah, the IPC::Run test would need to deal with this as well.
>>> A PROVE_PERL environment variable is one way.  Or maybe simpler,
>>> just skip the probe for IPC::Run if PROVE has been specified
>>> externally; assume the user knows what he's doing in that case.
>> WFM
> OK, I'll go make that happen.
>
> 			



OK, thanks.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (10+ messages)

Message-ID: <e5114c3e-b026-495c-6249-a8ebbef4d632@2ndQuadrant.com>
Permalink:  ../e5114c3e-b026-495c-6249-a8ebbef4d632@2ndQuadrant.com/
Also on:    postgresql.org/message-id/e5114c3e-b026-495c-6249-a8ebbef4d632@2ndQuadrant.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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Record full paths of programs sought by "configure".
  In-Reply-To: <e5114c3e-b026-495c-6249-a8ebbef4d632@2ndQuadrant.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