Re: Documentation for building with meson
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: samay sharma <smilingsamay@gmail.com>, Andres Freund <andres@anarazel.de>
Cc: John Naylor <john.naylor@enterprisedb.com>,
Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2022-11-10T12:46:27Z
Lists: pgsql-hackers
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. > > + <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. Regards, Nazir Bilal Yavuz
Commits
-
doc: Add installation instructions for building with meson
- 4c72102e1d45 16.0 landed
-
doc: Remove note about disk space from installation instructions
- de867c9c5379 16.0 landed
-
doc: Add missing comma
- 148e0bd4d617 16.0 landed