Re: Error on missing Python module in Meson setup

2022-11-15 Thread Daniel Gustafsson
> On 15 Nov 2022, at 01:25, Andres Freund wrote: > On 2022-11-14 14:23:02 +0100, Daniel Gustafsson wrote >> Installing the distutils package fixes it, but it seems harsh to fail setup >> on >> a missing package. Would something like the attached make sense? > > The error is a bit better in newe

Re: Error on missing Python module in Meson setup

2022-11-14 Thread Andres Freund
Hi, On 2022-11-14 14:23:02 +0100, Daniel Gustafsson wrote: > When setting up a postgres tree with Meson on an almost empty Debian 11 VM I > hit an error on "meson setup -Ddebug=true build ." like this: > > Program python3 found: YES (/usr/bin/python3) > meson.build:987:2: ERROR: Unknown m

Error on missing Python module in Meson setup

2022-11-14 Thread Daniel Gustafsson
When setting up a postgres tree with Meson on an almost empty Debian 11 VM I hit an error on "meson setup -Ddebug=true build ." like this: Program python3 found: YES (/usr/bin/python3) meson.build:987:2: ERROR: Unknown method "dependency" in object. The error in itself isn't terribly self