Re: FreeBSD 12 and Postgres build failures

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Karl Denninger <karl(at)denninger(dot)net>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: FreeBSD 12 and Postgres build failures
Date: 2019-03-19 23:15:08
Message-ID: 877ecuxyvu.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "Karl" == Karl Denninger <karl(at)denninger(dot)net> writes:

Karl> That was on a bare, new grab of the source from your repository and a
Karl> straight-up run of "./configure --with-openssl --with-perl", then "gmake".

That's a configure line that has never worked on FreeBSD:

% ./configure --with-openssl --with-perl
[...]
configure: error: readline header not found
If you have libedit already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable libedit support.
%

(If you don't use --without-readline then you must add
--with-includes=/usr/local/include and --with-libs=/usr/local/lib to
pick up either ports readline or ports libedit. Or you might be able to
use --with-includes=/usr/include/edit to get base system libedit, but
that's not really the recommended method. Besides libedit sucks for
actual use so you want readline anyway.)

If you didn't explicitly specify any of those, but configure found a
readline to use anyway, then it means you have defined some non-standard
compiler options or have messed with the include paths in some other
way, which could be relevant to your problem.

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karl Denninger 2019-03-19 23:44:24 Re: FreeBSD 12 and Postgres build failures
Previous Message Thomas Munro 2019-03-19 22:38:59 Re: FreeBSD 12 and Postgres build failures