From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | Márcio Antônio Sepp <marcio(at)zyontecnologia(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can't compile postgresql 11 on FreeBSD 11.1 |
Date: | 2018-07-17 20:25:21 |
Message-ID: | 27815.1531859121@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Olivier Gautherot | 2018-07-17 21:19:39 | Re: Can't compile postgresql 11 on FreeBSD 11.1 |
Previous Message | Christoph Moench-Tegeder | 2018-07-17 19:47:10 | Re: Can't compile postgresql 11 on FreeBSD 11.1 |