From: Niels Jespersen <NJN@dst.dk>
To: Yang, T. Andy <tyang99@yahoo.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: SV: compiling postgres on windows - how to deal with unmatched file extension?
Date: Wed, 14 Dec 2022 07:04:42 +0000
Message-ID: <2b2c3c619f5949e2aaccd2869b2c3183@dst.dk> (raw)
In-Reply-To: <451483224.1191646.1670993753875@mail.yahoo.com>
References: <451483224.1191646.1670993753875.ref@mail.yahoo.com>
<451483224.1191646.1670993753875@mail.yahoo.com>
>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
>
>These .c files are referenced in postgres.vcxproj. They actual exist but their extension is either .l or .y instead of .c. What am I supposed to do so the build process will find these files with correct extension? I don't think I need to modify vcxproj files to make it work.
>
>I checked out source code from the latest master version on github. I was expecting the build would go smoothly since I didn't modify anything.
>
I once wrote this:
https://github.com/njesp/build_pgaudit_on_windows#build-pgaudit-as-part-of-a-full-postgresql-build&l...;
as part of something else.
Regards Niels
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: NJN@dst.dk, tyang99@yahoo.com
Subject: Re: compiling postgres on windows - how to deal with unmatched file extension?
In-Reply-To: <2b2c3c619f5949e2aaccd2869b2c3183@dst.dk>
References: <451483224.1191646.1670993753875.ref@mail.yahoo.com> <451483224.1191646.1670993753875@mail.yahoo.com> <2b2c3c619f5949e2aaccd2869b2c3183@dst.dk>
* 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