Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHo7N-0008WL-RQ for pgsql-general@arkaria.postgresql.org; Wed, 09 Feb 2022 14:38:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nHo7M-0002o9-Jd for pgsql-general@arkaria.postgresql.org; Wed, 09 Feb 2022 14:38:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHo7M-0002ny-9Y for pgsql-general@lists.postgresql.org; Wed, 09 Feb 2022 14:38:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHo7J-0000J1-V9 for pgsql-general@lists.postgresql.org; Wed, 09 Feb 2022 14:38:47 +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 219Echi91417629; Wed, 9 Feb 2022 09:38:44 -0500 From: Tom Lane To: Gabriela Serventi cc: Thomas Munro , pgsql-general@lists.postgresql.org Subject: Re: Compile 14.1 in EL5.8 In-reply-to: References: Comments: In-reply-to Gabriela Serventi message dated "Wed, 09 Feb 2022 10:19:38 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1417627.1644417523.1@sss.pgh.pa.us> Date: Wed, 09 Feb 2022 09:38:43 -0500 Message-ID: <1417628.1644417523@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Gabriela Serventi writes: > Hi! I'm trying to compile release 14.1 in a very old Linux Server (Red Hat > Enterprise Linux Server release 5.8). I can run configure successfully, but > when I try to run make, I get the following error: > latch.c:85:26: error: sys/signalfd.h: No such file or directory It looks like since 6a2a70a02, latch.c effectively uses HAVE_SYS_EPOLL_H to decide whether it can include , which seems not too well thought out. A proper fix will require another configure check, but you could hack it by adding -DWAIT_USE_POLL to CPPFLAGS in src/Makefile.global after running configure. FWIW, EL5 is *ancient*. You really oughta consider an update. regards, tom lane