Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2sy4-007Igf-Em for pgsql-general@arkaria.postgresql.org; Thu, 10 Apr 2025 14:33:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u2sy1-00CM5O-W0 for pgsql-general@arkaria.postgresql.org; Thu, 10 Apr 2025 14:33:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2sy1-00CM5E-Kh for pgsql-general@lists.postgresql.org; Thu, 10 Apr 2025 14:33:21 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u2sxz-0044Zr-31 for pgsql-general@lists.postgresql.org; Thu, 10 Apr 2025 14:33:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 53AEXF1D510776; Thu, 10 Apr 2025 10:33:16 -0400 From: Tom Lane To: Tomas Vondra cc: "Daniel Westermann (DWE)" , "pgsql-general@lists.postgresql.org" Subject: Re: Meson and Numa: C header not found In-reply-to: <99060f87-f477-4de1-b4cb-f195eaae5322@vondra.me> References: <99060f87-f477-4de1-b4cb-f195eaae5322@vondra.me> Comments: In-reply-to Tomas Vondra message dated "Thu, 10 Apr 2025 11:22:29 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <510774.1744295595.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Apr 2025 10:33:15 -0400 Message-ID: <510775.1744295595@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tomas Vondra 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=3Ddisabled if you don't try to force it. regards, tom lane