From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben Madin <ben@ausvet.com.au>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Problem building psql on Mac OS 10.15 (around readline bit I think)
Date: Sun, 28 Feb 2021 23:50:12 -0500
Message-ID: <671182.1614574212@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+weYr0C2mL4pGS-hK20DMJaz0zp7zKeF-gCp3tyeht4drFEUQ@mail.gmail.com>
References: <CA+weYr0C2mL4pGS-hK20DMJaz0zp7zKeF-gCp3tyeht4drFEUQ@mail.gmail.com>
Ben Madin <ben@ausvet.com.au> writes:
> I am trying to build PostgreSQL 13.2 on Mac OS X 10.15.7. I was about to
> build 13.1 on the same 10.15 (but probably not 10.15.7) about 8 weeks ago
> without problems, so I was a bit surprised to find this error happening.
>
> *input.c:82:3: error: implicit declaration of function
> 'rl_reset_screen_size' is invalid in C99*
> [-Werror,-Wimplicit-function-declaration]
> rl_reset_screen_size();
> ^
> input.c:82:3: note: did you mean 'rl_set_screen_size'?
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/readline/history.h:198:8:
> note:
> 'rl_set_screen_size' declared here
> void rl_set_screen_size(int, int);
> ^
That's odd. Did you update Xcode or Apple's "command line tools" since
your last successful PG build? Do you have either MacPorts or Homebrew
stuff on this machine?
FWIW, I don't think we've changed anything in this immediate area in
quite some time. So I guess something in your environment changed,
but it's not clear what.
regards, tom lane
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, ben@ausvet.com.au
Subject: Re: Problem building psql on Mac OS 10.15 (around readline bit I think)
In-Reply-To: <671182.1614574212@sss.pgh.pa.us>
References: <CA+weYr0C2mL4pGS-hK20DMJaz0zp7zKeF-gCp3tyeht4drFEUQ@mail.gmail.com> <671182.1614574212@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