Re: Problem building psql on Mac OS 10.15 (around readline bit I think)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ben Madin <ben(at)ausvet(dot)com(dot)au>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Problem building psql on Mac OS 10.15 (around readline bit I think)
Date: 2021-03-01 04:50:12
Message-ID: 671182.1614574212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ben Madin <ben(at)ausvet(dot)com(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben Madin 2021-03-01 05:46:05 Re: Problem building psql on Mac OS 10.15 (around readline bit I think)
Previous Message Ben Madin 2021-03-01 03:45:54 Problem building psql on Mac OS 10.15 (around readline bit I think)