From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Márcio Antônio Sepp <marcio@zyontecnologia.com.br>
Cc: pgsql-general@postgresql.org
Subject: Re: Can't compile postgresql 11 on FreeBSD 11.1
Date: Tue, 17 Jul 2018 16:25:21 -0400
Message-ID: <27815.1531859121@sss.pgh.pa.us> (raw)
In-Reply-To: <4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com>
References: <01c801d41e05$3a8ff650$afafe2f0$@com.br>
<4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com>
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 07/17/2018 12:34 PM, Márcio Antônio Sepp wrote:
>> I'm trying to compile PostgreSQL 11beta2 but this errors occur:
>> checking readline.h usability... no
> Looks like you need whatever is the FreeBSD equivalent of readline-dev(el).
AFAICT FreeBSD doesn't do things that way. On a nearby machine, I see
$ pkg which /usr/local/include/readline/readline.h
/usr/local/include/readline/readline.h was installed by package readline-6.3.8
What's more likely the problem is that FreeBSD insists on installing
packages under /usr/local, but it does *not* set that up to be part of
gcc's default search paths. (Security 1, usability 0.) You need these
configure flags to do much of anything on that platform:
--with-includes=/usr/local/include --with-libs=/usr/local/lib
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, marcio@zyontecnologia.com.br
Subject: Re: Can't compile postgresql 11 on FreeBSD 11.1
In-Reply-To: <27815.1531859121@sss.pgh.pa.us>
References: <01c801d41e05$3a8ff650$afafe2f0$@com.br> <4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com> <27815.1531859121@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