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 1ffWXM-0007nF-V9 for pgsql-general@arkaria.postgresql.org; Tue, 17 Jul 2018 20:25:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffWXJ-0001eC-Qc for pgsql-general@arkaria.postgresql.org; Tue, 17 Jul 2018 20:25:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffWXJ-0001e5-If for pgsql-general@lists.postgresql.org; Tue, 17 Jul 2018 20:25:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffWXG-0001De-Kk for pgsql-general@postgresql.org; Tue, 17 Jul 2018 20:25:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w6HKPL8h027816; Tue, 17 Jul 2018 16:25:21 -0400 From: Tom Lane To: Adrian Klaver cc: =?UTF-8?B?TcOhcmNpbyBBbnTDtG5pbyBTZXBw?= , pgsql-general@postgresql.org Subject: Re: Can't compile postgresql 11 on FreeBSD 11.1 In-reply-to: <4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com> References: <01c801d41e05$3a8ff650$afafe2f0$@com.br> <4d55008e-658e-0913-f7f1-f844acf643e8@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Tue, 17 Jul 2018 12:37:29 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <27814.1531859121.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 17 Jul 2018 16:25:21 -0400 Message-ID: <27815.1531859121@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adrian Klaver 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