Re: FreeBSD 12 and Postgres build failures - Mailing list pgsql-general

From Andrew Gierth
Subject Re: FreeBSD 12 and Postgres build failures
Date
Msg-id 877ecuxyvu.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: FreeBSD 12 and Postgres build failures  (Karl Denninger <karl@denninger.net>)
Responses Re: FreeBSD 12 and Postgres build failures  (Karl Denninger <karl@denninger.net>)
List pgsql-general
>>>>> "Karl" == Karl Denninger <karl@denninger.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)


pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: FreeBSD 12 and Postgres build failures
Next
From: Karl Denninger
Date:
Subject: Re: FreeBSD 12 and Postgres build failures