Re: Meson and Numa: C header not found
Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
From: "Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Tomas Vondra <tomas@vondra.me>
Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-04-10T15:48:40Z
Lists: pgsql-general
>Tomas Vondra <tomas@vondra.me> writes: >> On 4/10/25 08:00, Daniel Westermann (DWE) wrote: >>> I wanted to play a bit with the Numa stuff recently committed but Meson fails to find numa.h: >>> Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 >>> Run-time dependency numa found: YES 2.0.19 >>> >>> ../postgresql/meson.build:957:12: ERROR: C header 'numa.h' not found >> That's weird. I'm on Fedora 41 too, and I don't have this issue. If I do >I couldn't reproduce it on F41 either. Note that you need to >have numactl-devel installed else /usr/include/numa.h isn't >there; but meson seems to fail as-expected without that, >or silently fall back to libnuma=disabled if you don't try to force it. > It is there: postgres@pgbox:/home/postgres/ [DEV] ls /usr/include/numa.h /usr/include/numa.h Regards Daniel