Re: Meson and Numa: C header not found - Mailing list pgsql-general

From Tomas Vondra
Subject Re: Meson and Numa: C header not found
Date
Msg-id 99060f87-f477-4de1-b4cb-f195eaae5322@vondra.me
Whole thread Raw
In response to Meson and Numa: C header not found  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Responses Re: Meson and Numa: C header not found
List 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@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




pgsql-general by date:

Previous
From: "Daniel Westermann (DWE)"
Date:
Subject: Meson and Numa: C header not found
Next
From: "Daniel Westermann (DWE)"
Date:
Subject: Re: Meson and Numa: C header not found