PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16343
PG Version12.0
OSWindows 10 Home
Opened2020-04-04 15:08:31+00
Reported byArnold Müller
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16343
Logged by:          Arnold Müller
Email address:      (redacted)
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

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")
 	{

Messages

DateAuthorSubject
2020-04-04 15:08:31+00PG Bug reporting formBUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
2020-04-06 06:36:29+00Daniel GustafssonRe: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
2020-05-20 12:05:28+00Daniel GustafssonRe: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
2020-05-21 05:47:03+00Michael PaquierRe: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"