From: Karl Denninger <karl@denninger.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: FreeBSD 12 and Postgres build failures
Date: Tue, 19 Mar 2019 17:32:47 -0500
Message-ID: <5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net> (raw)
In-Reply-To: <32572.1553033569@sss.pgh.pa.us>
References: <eb6e15af-5042-5965-ccba-a7af238db827@denninger.net>
<32572.1553033569@sss.pgh.pa.us>
On 3/19/2019 17:12, Tom Lane wrote:
> Karl Denninger <karl@denninger.net> writes:
>> Both 10.7 and 11.2 fail on FreeBSD 12-STABLE if --with-openssl is part
>> of the configure string.
> Hmmm ... I don't have that exact configuration handy to try, but
> we know that PG works against OpenSSL 1.1.1a in principle, and
> it does work for me with FreeBSD 12.0-RC1 from mid-November,
> which contains
> # openssl version
> OpenSSL 1.1.1-freebsd 11 Sep 2018
>
> The error you quote looks a bit like bad decisions in PG's configure
> script --- maybe you need to re-run configure? Be sure to blow
> away any autoconf cache file if you're using one.
>
> regards, tom lane
That was on a bare, new grab of the source from your repository and a
straight-up run of "./configure --with-openssl --with-perl", then "gmake".
It's a new directory tree - there's no autoconf or other cache files
laying around.
Same grab on FreeBSD 11.x builds fine.
Digging around I had the openssl-1.0.2r port on the system, which used
to be necessary for some other stuff back before 12.x. I've removed it
and it looks like that took care of it; for whatever reason configure
was getting confused (in theory this shouldn't get you, but theory and
practice sometimes don't play nice. :-)
Thanks for the confirm that others do have it working; gave me a place
to start looking for the issue.
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
Attachments:
smime.p7s (application/pkcs7-signature, 4.8K) download
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: karl@denninger.net
Subject: Re: FreeBSD 12 and Postgres build failures
In-Reply-To: <5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net>
References: <eb6e15af-5042-5965-ccba-a7af238db827@denninger.net> <32572.1553033569@sss.pgh.pa.us> <5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net>
* 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