From: Tom Lane <tgl@sss.pgh.pa.us>
To: Keith Fiske <keith.fiske@crunchydata.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: FreeBSD 11 compiling from source cannot find readline headers
Date: Fri, 19 Oct 2018 20:23:53 -0400
Message-ID: <21850.1539995033@sss.pgh.pa.us> (raw)
In-Reply-To: <CAODZiv7DajCMVP6RYmcGb9vJr_uwUe0Zpg7VYriXKPLC=kXpFA@mail.gmail.com>
References: <CAODZiv7DajCMVP6RYmcGb9vJr_uwUe0Zpg7VYriXKPLC=kXpFA@mail.gmail.com>
Keith Fiske <keith.fiske@crunchydata.com> writes:
> The current version of FreeBSD 11 cannot compile the PostgreSQL from source
> without adding the --with-includes flag to the configure option
Yeah, and I believe you need a --with-libs switch too. This is just a
FreeBSD idiosyncrasy --- everybody else thinks their compilers should
automatically search the platform's standard place for optional packages.
> I noticed this issue mostly because I remembered on FreeBSD 10, I did not
> even need to have the readline package explicitly installed and the
> configure would still work perfectly fine, even confirming it could find
> the readline headers.
Really? AFAIK FreeBSD has always been like this. I did find a wiki
page suggesting they're thinking about changing it:
https://wiki.freebsd.org/WarnerLosh/UsrLocal
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, keith.fiske@crunchydata.com
Subject: Re: FreeBSD 11 compiling from source cannot find readline headers
In-Reply-To: <21850.1539995033@sss.pgh.pa.us>
References: <CAODZiv7DajCMVP6RYmcGb9vJr_uwUe0Zpg7VYriXKPLC=kXpFA@mail.gmail.com> <21850.1539995033@sss.pgh.pa.us>
* 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