Re: Documentation for building with meson - Mailing list pgsql-hackers

From samay sharma
Subject Re: Documentation for building with meson
Date
Msg-id CAJxrbyzcMM_TLtUPWkv4R+VSYJEKo-p_fCka1X69V_YHamFhpQ@mail.gmail.com
Whole thread Raw
In response to Re: Documentation for building with meson  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Responses Re: Documentation for building with meson
List pgsql-hackers
Hi,

On Thu, Nov 10, 2022 at 4:46 AM Nazir Bilal Yavuz <byavuz81@gmail.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@anarazel.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

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: libpq support for NegotiateProtocolVersion
Next
From: David Christensen
Date:
Subject: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL