Re: Can't compile postgresql 11 on FreeBSD 11.1 - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: Can't compile postgresql 11 on FreeBSD 11.1
Date
Msg-id 8e7a4b18-4f35-0279-2dc6-d89c0389fade@matrix.gatewaynet.com
Whole thread Raw
In response to Re: Can't compile postgresql 11 on FreeBSD 11.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Can't compile postgresql 11 on FreeBSD 11.1
List pgsql-general
On 17/07/2018 23:25, Tom Lane wrote:
> 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
For ages I have been manually compiling PostgreSQL under FreeBSD with only :
./configure --with-ldap

But in my case I tend to fall back to gcc instead of the native clang/llvm . That might be his issue.

>
>             regards, tom lane
>

-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt



pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Call for Papers - PGConf.ASIA 2018
Next
From: Achilleas Mantzios
Date:
Subject: Re: Can't compile postgresql 11 on FreeBSD 11.1