Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffp8S-0003ZB-N6 for pgsql-general@arkaria.postgresql.org; Wed, 18 Jul 2018 16:17:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffp8R-0000PW-7g for pgsql-general@arkaria.postgresql.org; Wed, 18 Jul 2018 16:17:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffp8Q-0000PA-RP for pgsql-general@lists.postgresql.org; Wed, 18 Jul 2018 16:17:02 +0000 Received: from chocolate.concordia.psi.br ([189.91.194.3]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffp8G-00019C-GA for pgsql-general@postgresql.org; Wed, 18 Jul 2018 16:16:59 +0000 Received: from Marcio (unknown [186.226.37.77]) (Authenticated sender: marcio@zyontecnologia.com.br) by chocolate.concordia.psi.br (Postfix) with ESMTPA id 8E88D100145D for ; Wed, 18 Jul 2018 13:16:46 -0300 (BRT) From: =?UTF-8?Q?M=C3=A1rcio_Ant=C3=B4nio_Sepp?= To: References: <01c801d41e05$3a8ff650$afafe2f0$@com.br> <4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com> <27815.1531859121@sss.pgh.pa.us> In-Reply-To: <27815.1531859121@sss.pgh.pa.us> Subject: RES: Can't compile postgresql 11 on FreeBSD 11.1 Date: Wed, 18 Jul 2018 13:16:43 -0300 Message-ID: <033e01d41eb2$b7f27840$27d768c0$@com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: pt-br Thread-Index: AdQeDGQxKm0cs/x2SHKeM33ct7tRYAApiBaw List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.