RES: Can't compile postgresql 11 on FreeBSD 11.1

From: Márcio Antônio Sepp <marcio(at)zyontecnologia(dot)com(dot)br>
To: <pgsql-general(at)postgresql(dot)org>
Subject: RES: Can't compile postgresql 11 on FreeBSD 11.1
Date: 2018-07-18 16:16:43
Message-ID: 033e01d41eb2$b7f27840$27d768c0$@com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Now to the list...

> >> 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

That is right. Including lines above everything works fine.

Thanks so much.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sherrylyn Branchaw 2018-07-18 17:11:56 Re: Slow WAL recovery for DROP TABLE
Previous Message Ibrahim Edib Kokdemir 2018-07-18 15:12:48 Re: Postgresql & PGPool packages minor version different on Standby server