Re: Compile 14.1 in EL5.8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gabriela Serventi <gabrielaserventi(at)gmail(dot)com>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Compile 14.1 in EL5.8
Date: 2022-02-09 14:38:43
Message-ID: 1417628.1644417523@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gabriela Serventi <gabrielaserventi(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2022-02-09 15:14:05 Re: Why are data files getting modified?
Previous Message Simon Riggs 2022-02-09 13:54:43 Re: Locks on FK Tables From Partitioning