pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
4+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2020-05-21 d2a9959907 089baec6fd bb24af50d5 8dfc7d8886 57dc672c27 8de137017a Fix MSVC installations with multiple "configure" files detected
* BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
@ 2020-04-04 15:08 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 4+ messages in thread
From: PG Bug reporting form @ 2020-04-04 15:08 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: noeld.mueller@googlemail.com
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.patch
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 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")
{
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
@ 2020-04-06 06:36 Daniel Gustafsson <daniel@yesql.se>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Gustafsson @ 2020-04-06 06:36 UTC (permalink / raw)
To: noeld.mueller@googlemail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
> On 4 Apr 2020, at 17:08, PG Bug reporting form <noreply@postgresql.org> wrote:
> 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.
While I haven't tested it, the proposed change makes perfect sense, we need a
conditional between the two. +1 on this.
cheers ./daniel
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
@ 2020-05-20 12:05 Daniel Gustafsson <daniel@yesql.se>
parent: Daniel Gustafsson <daniel@yesql.se>
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Gustafsson @ 2020-05-20 12:05 UTC (permalink / raw)
To: noeld.mueller@googlemail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
> On 6 Apr 2020, at 08:36, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> On 4 Apr 2020, at 17:08, PG Bug reporting form <noreply@postgresql.org> wrote:
>
>> 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.
>
> While I haven't tested it, the proposed change makes perfect sense, we need a
> conditional between the two. +1 on this.
Can you please add this patch to the next commitfest to make it's not forgotten
about?
https://commitfest.postgresql.org/28/
cheers ./daniel
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
@ 2020-05-21 05:47 Michael Paquier <michael@paquier.xyz>
parent: Daniel Gustafsson <daniel@yesql.se>
0 siblings, 0 replies; 4+ messages in thread
From: Michael Paquier @ 2020-05-21 05:47 UTC (permalink / raw)
To: Daniel Gustafsson <daniel@yesql.se>; +Cc: noeld.mueller@googlemail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Wed, May 20, 2020 at 02:05:28PM +0200, Daniel Gustafsson wrote:
> Can you please add this patch to the next commitfest to make it's not forgotten
> about?
>
> https://commitfest.postgresql.org/28/
Applied and back-patched down to 9.5. Sorry for the delay.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-05-21 05:47 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-04 15:08 BUG #16343: Build problem: Install.pm "Could not find debug or release binaries" PG Bug reporting form <noreply@postgresql.org>
2020-04-06 06:36 ` Daniel Gustafsson <daniel@yesql.se>
2020-05-20 12:05 ` Daniel Gustafsson <daniel@yesql.se>
2020-05-21 05:47 ` Michael Paquier <michael@paquier.xyz>
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