Re: Meson and Numa: C header not found

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Meson and Numa: C header not found
Date: 2025-04-10 09:22:29
Message-ID: 99060f87-f477-4de1-b4cb-f195eaae5322@vondra.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/10/25 08:00, Daniel Westermann (DWE) wrote:
> Hi,
>
> 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
>
> Is this expected? The header file is there:
>
> postgres(at)pgbox:/home/postgres/ [DEV] sudo find / -name numa.h
> /usr/include/numa.h
>
> This is a Fedora 41 system.
>

That's weird. I'm on Fedora 41 too, and I don't have this issue. If I do

$ meson setup build

I get

libnuma : YES 2.0.19

and then

ninja -C build

completes just fine. What exactly are the commands you're executing?

FWIW I guess -hackers would be a better place for this question.

regards

--
Tomas Vondra

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Westermann (DWE) 2025-04-10 09:53:06 Re: Meson and Numa: C header not found
Previous Message Daniel Westermann (DWE) 2025-04-10 06:00:28 Meson and Numa: C header not found