From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: noeld.mueller@googlemail.com
Subject: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
Date: Sat, 04 Apr 2020 15:08:31 +0000
Message-ID: <16343-f638f67e7e52b86c@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16343
Logged by: Arnold Müller
Email address: noeld.mueller@googlemail.com
PostgreSQL version: 12.0
Operating system: Windows 10 Home
Description:
During a build with vcpkg I got above error message during the install phase
after a successfull build phase.
(I tried to install
ulibpq:x64-windows 12.0-1
)
It turned out that I got another, completely unrelated configure-file 7
folders up the hierarchy.
Inserting an elsif fixed it.
So, please consider merging this one into the Install.pm. It worked for me
on Windows 10 Home with vcpkg/MSVC, haven't tried it on other platforms,
though.
Thanks,
Arnold
inline patch 1: src/tools/msvc/Install.pm (+8/-2 lines) download inline-1.patchdiff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pmindex 1a92ed233a..9173d0ee53 100644--- a/src/tools/msvc/Install.pm+++ b/src/tools/msvc/Install.pm@@ -63,8 +63,14 @@ sub Install
do "./config.pl" if (-f "config.pl");
}
- chdir("../../..") if (-f "../../../configure");- chdir("../../../..") if (-f "../../../../configure");+ if (-f "../../../configure")+ {+ chdir("../../..");+ } + elsif (-f "../../../../configure")+ {+ chdir("../../../..");+ }
my $conf = "";
if (-d "debug")
{
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-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, noeld.mueller@googlemail.com
Subject: Re: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
In-Reply-To: <16343-f638f67e7e52b86c@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