pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gabriela Serventi <gabrielaserventi@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Compile 14.1 in EL5.8
Date: Wed, 09 Feb 2022 09:38:43 -0500
Message-ID: <1417628.1644417523@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHOHWE-JjJDfcYuLAAEO7Jk07atFAU47z8TzHzg71gbC0aMy=g@mail.gmail.com>
References: <CAHOHWE-JjJDfcYuLAAEO7Jk07atFAU47z8TzHzg71gbC0aMy=g@mail.gmail.com>

Gabriela Serventi <gabrielaserventi@gmail.com> 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 <sys/signalfd.h>, 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





view thread (5+ messages)  latest in thread

Message-ID: <1417628.1644417523@sss.pgh.pa.us>
Permalink:  ../1417628.1644417523@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1417628.1644417523@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gabrielaserventi@gmail.com, thomas.munro@gmail.com
  Subject: Re: Compile 14.1 in EL5.8
  In-Reply-To: <1417628.1644417523@sss.pgh.pa.us>
  References: <CAHOHWE-JjJDfcYuLAAEO7Jk07atFAU47z8TzHzg71gbC0aMy=g@mail.gmail.com> <1417628.1644417523@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox