Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5Jyd-0005PV-5C for pgsql-general@arkaria.postgresql.org; Wed, 14 Dec 2022 05:06:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p5Jyb-0003xm-Om for pgsql-general@arkaria.postgresql.org; Wed, 14 Dec 2022 05:06:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5Jyb-0003xd-EL for pgsql-general@lists.postgresql.org; Wed, 14 Dec 2022 05:06:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5JyZ-0000Qv-9q for pgsql-general@lists.postgresql.org; Wed, 14 Dec 2022 05:06:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2BE56cEU2602291; Wed, 14 Dec 2022 00:06:38 -0500 From: Tom Lane To: "Yang, T. Andy" cc: "pgsql-general@lists.postgresql.org" Subject: Re: compiling postgres on windows - how to deal with unmatched file extension? In-reply-to: <451483224.1191646.1670993753875@mail.yahoo.com> References: <451483224.1191646.1670993753875.ref@mail.yahoo.com> <451483224.1191646.1670993753875@mail.yahoo.com> Comments: In-reply-to "Yang, T. Andy" message dated "Wed, 14 Dec 2022 04:55:53 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2602289.1670994398.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Dec 2022 00:06:38 -0500 Message-ID: <2602290.1670994398@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Yang, T. Andy" writes: > I'm trying to build postgresql from source code on windows. The build ra= n into a bunch of errors like=C2=A0 > '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