Re: FreeBSD 12 and Postgres build failures

From: Karl Denninger <karl(at)denninger(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: FreeBSD 12 and Postgres build failures
Date: 2019-03-19 22:32:47
Message-ID: 5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 3/19/2019 17:12, Tom Lane wrote:
> Karl Denninger <karl(at)denninger(dot)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(at)denninger(dot)net <mailto:karl(at)denninger(dot)net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Munro 2019-03-19 22:38:59 Re: FreeBSD 12 and Postgres build failures
Previous Message Andrew Gierth 2019-03-19 22:29:47 Re: FreeBSD 12 and Postgres build failures