From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Karl Denninger <karl@denninger.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: FreeBSD 12 and Postgres build failures
Date: Wed, 20 Mar 2019 02:12:23 +0000
Message-ID: <8736nixte1.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <977a9233-d646-ee34-fe16-bf9ca5b4691c@denninger.net>
References: <eb6e15af-5042-5965-ccba-a7af238db827@denninger.net>
<32572.1553033569@sss.pgh.pa.us>
<5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net>
<877ecuxyvu.fsf@news-spur.riddles.org.uk>
<977a9233-d646-ee34-fe16-bf9ca5b4691c@denninger.net>
>>>>> "Karl" == Karl Denninger <karl@denninger.net> writes:
>> 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.
>> %
Karl> Uh, it has worked on all my FreeBSD systems for a very long time;
Then you have done something non-standard, because "cc" on FreeBSD does
not look in /usr/local/include or /usr/local/lib without being told to
do so, and the configure checks for readline will fail without that.
Possible explanations include having a "gcc" (without a specific version
suffix) on the $PATH (gcc will be chosen over cc in that case), or
having configured CFLAGS or CPPFLAGS in the environment to ./configure.
You might post your full output of ./configure rather than leaving us to
guess at it.
--
Andrew (irc:RhodiumToad)
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: andrew@tao11.riddles.org.uk, karl@denninger.net
Subject: Re: FreeBSD 12 and Postgres build failures
In-Reply-To: <8736nixte1.fsf@news-spur.riddles.org.uk>
References: <eb6e15af-5042-5965-ccba-a7af238db827@denninger.net> <32572.1553033569@sss.pgh.pa.us> <5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net> <877ecuxyvu.fsf@news-spur.riddles.org.uk> <977a9233-d646-ee34-fe16-bf9ca5b4691c@denninger.net> <8736nixte1.fsf@news-spur.riddles.org.uk>
* 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