pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: demelier.david@gmail.com
Subject: BUG #15524: Unable to run perl mkvcbuild.pl
Date: Tue, 27 Nov 2018 11:40:52 +0000
Message-ID: <15524-3c4dc6471d355825@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15524
Logged by:          David Demelier
Email address:      demelier.david@gmail.com
PostgreSQL version: 11.1
Operating system:   Windows 10
Description:        

Hello,

I'm reading the PostgreSQL documentation about building on Windows. I've
opened a Visual Studio 2017 x64 native command prompt and gone into the
src\tools\msvc directory.

Then, with activestate's bin directory into %PATH%, I've ran perl
mkvcbuild.pl and the following error happened:

Generating pg_config.h...
Use of uninitialized value in multiplication (*) at
C:\Users\d8d\Downloads\postgresql-11.1\src\tools\msvc/Solution.pm line 181,
<$i> line 782.
Use of uninitialized value in division (/) at
C:\Users\d8d\Downloads\postgresql-11.1\src\tools\msvc/Solution.pm line 184,
<$i> line 782.
Illegal division by zero at
C:\Users\d8d\Downloads\postgresql-11.1\src\tools\msvc/Solution.pm line 184,
<$i> line 782.

I've also tried to run build directly but failed saying that corecrt.h.
Also, even if the pg_config.h generation is incomplete, it looks like your
custom build system detect not correctly the version number because the .sln
files targets Windows 8 platform by default.



Message-ID: <15524-3c4dc6471d355825@postgresql.org>
Permalink:  ../15524-3c4dc6471d355825@postgresql.org/
Also on:    postgresql.org/message-id/15524-3c4dc6471d355825@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-bugs@postgresql.org
  Cc: noreply@postgresql.org, demelier.david@gmail.com
  Subject: Re: BUG #15524: Unable to run perl mkvcbuild.pl
  In-Reply-To: <15524-3c4dc6471d355825@postgresql.org>
  References: <15524-3c4dc6471d355825@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