From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yang, T. Andy <tyang99@yahoo.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: compiling postgres on windows - how to deal with unmatched file extension?
Date: Wed, 14 Dec 2022 00:06:38 -0500
Message-ID: <2602290.1670994398@sss.pgh.pa.us> (raw)
In-Reply-To: <451483224.1191646.1670993753875@mail.yahoo.com>
References: <451483224.1191646.1670993753875.ref@mail.yahoo.com>
<451483224.1191646.1670993753875@mail.yahoo.com>
"Yang, T. Andy" <tyang99@yahoo.com> writes:
> I'm trying to build postgresql from source code on windows. The build ran into a bunch of errors likeĀ
> 'src/backend/bootstrap/bootparse.c': No such file or directory
> 'src/backend/parser/gram.c': No such file or directory
I know little about building on Windows, but these are derived files
that should be built by running flex on the corresponding .l file
or bison on the corresponding .y file. A likely explanation is that
you don't have those tools installed, in which case you should have
seen associated errors earlier in the build log.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, tyang99@yahoo.com
Subject: Re: compiling postgres on windows - how to deal with unmatched file extension?
In-Reply-To: <2602290.1670994398@sss.pgh.pa.us>
References: <451483224.1191646.1670993753875.ref@mail.yahoo.com> <451483224.1191646.1670993753875@mail.yahoo.com> <2602290.1670994398@sss.pgh.pa.us>
* 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