SV: compiling postgres on windows - how to deal with unmatched file extension? - Mailing list pgsql-general

From Niels Jespersen
Subject SV: compiling postgres on windows - how to deal with unmatched file extension?
Date
Msg-id 2b2c3c619f5949e2aaccd2869b2c3183@dst.dk
Whole thread Raw
In response to compiling postgres on windows - how to deal with unmatched file extension?  ("Yang, T. Andy" <tyang99@yahoo.com>)
List 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

 

as part of something else.

 

Regards Niels

 

 

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: compiling postgres on windows - how to deal with unmatched file extension?
Next
From: Willy-Bas Loos
Date:
Subject: tcp keepalives not sent during long query