Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf3h-0005e2-O7 for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Oct 2018 00:24:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDf3f-0007tv-4V for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Oct 2018 00:23:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf3e-0007to-PP for pgsql-bugs@lists.postgresql.org; Sat, 20 Oct 2018 00:23:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf3b-0004qh-Rj for pgsql-bugs@lists.postgresql.org; Sat, 20 Oct 2018 00:23:57 +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 w9K0Nruo021851; Fri, 19 Oct 2018 20:23:53 -0400 From: Tom Lane To: Keith Fiske cc: pgsql-bugs@lists.postgresql.org Subject: Re: FreeBSD 11 compiling from source cannot find readline headers In-reply-to: References: Comments: In-reply-to Keith Fiske message dated "Fri, 19 Oct 2018 17:04:18 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21849.1539995033.1@sss.pgh.pa.us> Date: Fri, 19 Oct 2018 20:23:53 -0400 Message-ID: <21850.1539995033@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Keith Fiske writes: > The current version of FreeBSD 11 cannot compile the PostgreSQL from source > without adding the --with-includes flag to the configure option Yeah, and I believe you need a --with-libs switch too. This is just a FreeBSD idiosyncrasy --- everybody else thinks their compilers should automatically search the platform's standard place for optional packages. > I noticed this issue mostly because I remembered on FreeBSD 10, I did not > even need to have the readline package explicitly installed and the > configure would still work perfectly fine, even confirming it could find > the readline headers. Really? AFAIK FreeBSD has always been like this. I did find a wiki page suggesting they're thinking about changing it: https://wiki.freebsd.org/WarnerLosh/UsrLocal regards, tom lane