Incorrect source directory in build instructions and build scripts

Started by PG Bug reporting formover 4 years ago3 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/install-windows-full.html
Description:

I recently downloaded the source for PG 14, and attempted to build for
windows using the instructions on this page:
https://www.postgresql.org/docs/current/install-windows-full.html

It appears that both the documentation _and_ the build scripts (e.g.
source/tools/msvc/build.pl) assume the root directory of the installation is
'src' when in fact it is 'source'. This prevents the build scripts from
working (and the documentation is wrong).

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: PG Bug reporting form (#1)
Re: Incorrect source directory in build instructions and build scripts

On Friday, December 10, 2021, PG Doc comments form <noreply@postgresql.org>
wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/install-windows-full.html
Description:

I recently downloaded the source for PG 14

From where?

assume the root directory of the installation is
'src' when in fact it is 'source'.

A quick look at the git repo would indicate you are incorrect (or at least
that the docs are correct in at least the case of checking out the source
from the official git repo).

https://github.com/postgres/postgres

David J.

#3Chris Kline
ckline@onezero.com
In reply to: David G. Johnston (#2)
Re: Incorrect source directory in build instructions and build scripts

Hi David,

It turns out I had pulled the distribution from
https://www.postgresql.org/ftp/source/v14.0/ and extracted its src/
directory into our repo's structure, which was rooted at /source. I failed
to notice the difference at the time I was having the issues.

My apologies for wasting your time.

-chris

On Sat, Dec 11, 2021 at 2:20 PM David G. Johnston <
david.g.johnston@gmail.com> wrote:

On Friday, December 10, 2021, PG Doc comments form <noreply@postgresql.org>
wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/install-windows-full.html
Description:

I recently downloaded the source for PG 14

From where?

assume the root directory of the installation is
'src' when in fact it is 'source'.

A quick look at the git repo would indicate you are incorrect (or at least
that the docs are correct in at least the case of checking out the source
from the official git repo).

https://github.com/postgres/postgres

David J.

--

--
This email message, including any attachments, is for the sole use of the
individual or entity to whom they are addressed, and may contain
confidential information. If you are not an addressee or otherwise
authorized to receive this message, you should not use, copy, disclose or
take any action based on this e-mail or any information contained in the
message. If you have received this material in error, please advise the
sender immediately by reply e-mail and delete this message.  This email by
itself does not constitute an agreement to conduct transactions by
electronic means and does not create any legally binding contract or
enforceable obligation in the absence of a fully signed written contract. 
Contract terms contained in this email are subject to approval by an
authorized representative of oneZero and are not binding until an
authorized representative provides approval in writing.