From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | https://wiki.postgresql.org/wiki/Meson add info about meson and ninja required version. |
Date: | 2022-10-17 15:18:01 |
Message-ID: | CACJufxG-rE-2Bhx7eFdOFz-xa-bO656Z20G39UqwFv=fpGujnA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hi, I'm trying to build with meson.
-------------------------------
rm -rf builddir
meson setup \
--prefix=/usr/local/pg_master \
-Ddebug=true \
--bindir=/usr/local/pg_master \
--datadir=/usr/local/pg_master \
-Dpgport=1600 \
builddir
cd builddir
ninja
ninja install
-----------------------------------------------
------error part-------------------------
builddir$ninja install
[0/1] Installing files.
Installing subdir
/home/jian/Desktop/pg_sources/main/postgres/src/include/access to
/usr/local/pg_master/include/postgresql/server/access
Installation failed due to insufficient permissions.
Attempting to use polkit to gain elevated privileges...
ERROR: Build directory has been generated with Meson version 0.63.2, which
is incompatible with the current version 0.61.2.
FAILED: meson-internal__install
/home/jian/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
--------------------------------------------------------------------------
Quote from meson.build:
> # We want < 0.56 for python 3.5 compatibility on old platforms. EPEL for
> # RHEL 7 has 0.55. < 0.54 would require replacing some uses of the fs
> # module, < 0.53 all uses of fs. So far there's no need to go to >=0.56.
> meson_version: '>=0.54',
>
Well the error is quite intuitive. Then I tried to install meson 0.61.2.
Then all things work as intended.
would be better mentioned the meson and ninja required version in
https://wiki.postgresql.org/wiki/Meson
--
I recommend David Deutsch's <<The Beginning of Infinity>>
Jian
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2022-10-17 19:21:53 | Re: JSON/JSONB documentation, aggregate functions |
Previous Message | Jonathan S. Katz | 2022-10-17 13:45:25 | Re: pl Lua |