pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix MSVC installations with multiple "configure" files detected
Date: Thu, 21 May 2020 05:43:18 +0000
Message-ID: <E1jbdzC-00076d-H7@gemulon.postgresql.org> (raw)

Fix MSVC installations with multiple "configure" files detected

When installing binaries and libraries using the MSVC installation
routines, the operation gets done after moving to the root folder, whose
location is detected by checking if "configure" exists two times in a
row.  So, calling the installation script from src/tools/msvc/ with an
extra "configure" file four levels up the root path of the code tree
causes the execution to go further up, leading to a failure in finding
the builds.  This commit fixes the issue by moving to the root folder of
the code tree only once, when necessary.

Author: Arnold Müller
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/16343-f638f67e7e52b86c@postgresql.org
Backpatch-through: 9.5

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bb24af50d515651b950e153fdd25ddb46184a57b

Modified Files
--------------
src/tools/msvc/Install.pm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1jbdzC-00076d-H7@gemulon.postgresql.org>
Permalink:  ../E1jbdzC-00076d-H7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jbdzC-00076d-H7@gemulon.postgresql.org

 · 

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: michael@paquier.xyz
  Subject: Re: pgsql: Fix MSVC installations with multiple "configure" files detected
  In-Reply-To: <E1jbdzC-00076d-H7@gemulon.postgresql.org>
  References: <E1jbdzC-00076d-H7@gemulon.postgresql.org>

* 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