SV: compiling postgres on windows - how to deal with unmatched file extension?

From: Niels Jespersen <NJN(at)dst(dot)dk>
To: "Yang, T(dot) Andy" <tyang99(at)yahoo(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: SV: compiling postgres on windows - how to deal with unmatched file extension?
Date: 2022-12-14 07:04:42
Message-ID: 2b2c3c619f5949e2aaccd2869b2c3183@dst.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>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<https://github.com/njesp/build_pgaudit_on_windows%23build-pgaudit-as-part-of-a-full-postgresql-build>

as part of something else.

Regards Niels

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Willy-Bas Loos 2022-12-14 07:55:44 tcp keepalives not sent during long query
Previous Message David G. Johnston 2022-12-14 05:40:00 Re: compiling postgres on windows - how to deal with unmatched file extension?