Failure during Building Postgres in Windows with Meson

From: Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Failure during Building Postgres in Windows with Meson
Date: 2023-11-09 08:59:39
Message-ID: CANhcyEUQf_RES6NjYR2OFNj6DqJ01BZy+4kiY7pQK97WVskkfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I am trying to build postgres with meson on Windows. And I am stuck in
the process.

Steps I followed:

1. I clone postgres repo

2.Installed meson and ninja
pip install meson ninja

3. Then running following command:
meson setup build --buildtype debug

4. Then I ran
cd build
ninja

Got following error
D:\project\repo\pg_meson\postgres\build>C:\Users\kyals\AppData\Roaming\Python\Python311\Scripts\ninja
ninja: error: 'src/backend/postgres_lib.a.p/meson_pch-c.obj', needed
by 'src/backend/postgres.exe', missing and no known rule to make it.

Any thoughts on how to resolve this error?

Thanks
Shlok Kumar Kyal

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-11-09 09:12:03 Re: Some deleted GUCs are still referred to
Previous Message Dean Rasheed 2023-11-09 08:37:42 Re: Infinite Interval