Re: Documentation for building with meson

From: samay sharma <smilingsamay(at)gmail(dot)com>
To: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, John Naylor <john(dot)naylor(at)enterprisedb(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: Documentation for building with meson
Date: 2022-11-14 18:41:21
Message-ID: CAJxrbyzcMM_TLtUPWkv4R+VSYJEKo-p_fCka1X69V_YHamFhpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Thu, Nov 10, 2022 at 4:46 AM Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
wrote:

> Hi,
>
> I did some tests on windows. I used 'ninja' as a backend.
> On 11/8/2022 9:23 PM, samay sharma wrote:
>
> Hi,
>
> On Sat, Nov 5, 2022 at 2:39 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
>> Hi,
>>
>> On 2022-10-30 20:51:59 -0700, samay sharma wrote:
>> > +# setup and enter build directory (done only first time)
>> > +meson setup build src --prefix=$PWD/install
>>
>> This command won't work on windows, I think.
>>
>
> Yes, $PWD isn't recognized on windows, %CD% could be alternative.
>
Added.

>
> > + <varlistentry>
>> > +
>> <term><option>--sysconfdir=<replaceable>DIRECTORY</replaceable></option></term>
>> > + <listitem>
>> > + <para>
>> > + Sets the directory for various configuration files,
>> > + <filename><replaceable>PREFIX</replaceable>/etc</filename> by
>> default.
>> > + </para>
>> > + </listitem>
>> > + </varlistentry>
>>
>> Need to check what windows does here.
>>
>
> It is same on windows: 'PREFIX/etc'.
>
> I also checked other dirs(bindir, sysconfdir, libdir, includedir, datadir,
> localedir, mandir), default path is correct for all of them.
>

Thanks. I've made a few windows specific fixes in the latest version.
Attached v5.

Regards,
Samay

>
> Regards,
> Nazir Bilal Yavuz
>
>
>
>

Attachment Content-Type Size
v5-0001-Add-docs-for-building-with-meson.patch application/octet-stream 66.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Christensen 2022-11-14 18:41:22 Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL
Previous Message Jacob Champion 2022-11-14 18:11:59 Re: libpq support for NegotiateProtocolVersion