Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6QiX-0006eC-Lt for pgsql-general@arkaria.postgresql.org; Wed, 20 Mar 2019 02:12: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 1h6QiW-0007Zp-ER for pgsql-general@arkaria.postgresql.org; Wed, 20 Mar 2019 02:12:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6QiW-0007Zh-33 for pgsql-general@lists.postgresql.org; Wed, 20 Mar 2019 02:12:32 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6QiS-00061f-Vp for pgsql-general@lists.postgresql.org; Wed, 20 Mar 2019 02:12:30 +0000 Received: from [192.168.127.1] (port=45529 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1h6QiQ-0003Kr-47; Wed, 20 Mar 2019 02:12:26 +0000 Received: from [127.0.0.1] (port=37575 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1h6QiP-00029f-Bg; Wed, 20 Mar 2019 02:12:25 +0000 From: Andrew Gierth To: Karl Denninger Cc: pgsql-general@lists.postgresql.org Subject: Re: FreeBSD 12 and Postgres build failures In-Reply-To: <977a9233-d646-ee34-fe16-bf9ca5b4691c@denninger.net> (Karl Denninger's message of "Tue, 19 Mar 2019 18:44:24 -0500") Message-ID: <8736nixte1.fsf@news-spur.riddles.org.uk> References: <32572.1553033569@sss.pgh.pa.us> <5d4aaa6d-97e6-df4c-455d-884bdb620daf@denninger.net> <877ecuxyvu.fsf@news-spur.riddles.org.uk> <977a9233-d646-ee34-fe16-bf9ca5b4691c@denninger.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Wed, 20 Mar 2019 02:12:23 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Karl" == Karl Denninger writes: >> That's a configure line that has never worked on FreeBSD: >> >> % ./configure --with-openssl --with-perl >> [...] >> configure: error: readline header not found >> If you have libedit already installed, see config.log for details on the >> failure. It is possible the compiler isn't looking in the proper directory. >> Use --without-readline to disable libedit support. >> % Karl> Uh, it has worked on all my FreeBSD systems for a very long time; Then you have done something non-standard, because "cc" on FreeBSD does not look in /usr/local/include or /usr/local/lib without being told to do so, and the configure checks for readline will fail without that. Possible explanations include having a "gcc" (without a specific version suffix) on the $PATH (gcc will be chosen over cc in that case), or having configured CFLAGS or CPPFLAGS in the environment to ./configure. You might post your full output of ./configure rather than leaving us to guess at it. -- Andrew (irc:RhodiumToad)