Re: FreeBSD 11 compiling from source cannot find readline headers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keith Fiske <keith(dot)fiske(at)crunchydata(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: FreeBSD 11 compiling from source cannot find readline headers
Date: 2018-10-20 00:23:53
Message-ID: 21850.1539995033@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Keith Fiske <keith(dot)fiske(at)crunchydata(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-10-20 00:27:20 Re: NOTIFY does not work as expected
Previous Message Andres Freund 2018-10-20 00:06:45 Re: NOTIFY does not work as expected